What problem are you facing?
I'd like to run crossplane-diff comp in a pull-request to check the impact of comp changes. With increasing number of claims the runtime of this increases naturally. I'd like to be able to reduce the number of claims. I know that this then does not show the full impact of the change but in some cases this would be good enough. It would also be handy for debugging against a single claim.
How could Crossplane help solve your problem?
There already is a --namespace filter but I think a filter to check specific resource(s) would be handy.
Something like --resource or --resources.
"How would my comp changes impact that specific resource / those specific resources?"
Example: crossplane-diff comp pr-composition.yaml --resource='some-ns/specific-claim-of-that-comp'.
Handy would also be the possibility to pass in more than one, to not have to run the command multiple times. Somehow separated for example by a comma as for ignore-paths:
crossplane-diff comp pr-composition.yaml --resources='some-ns/specific-claim-of-that-comp,some-ns2/other-specific-claim-of-that-comp'
This could also be handy when implementing a composition or debugging and just wanting to check against a single specific resource.
What problem are you facing?
I'd like to run
crossplane-diff compin a pull-request to check the impact of comp changes. With increasing number of claims the runtime of this increases naturally. I'd like to be able to reduce the number of claims. I know that this then does not show the full impact of the change but in some cases this would be good enough. It would also be handy for debugging against a single claim.How could Crossplane help solve your problem?
There already is a
--namespacefilter but I think a filter to check specific resource(s) would be handy.Something like
--resourceor--resources."How would my comp changes impact that specific resource / those specific resources?"
Example:
crossplane-diff comp pr-composition.yaml --resource='some-ns/specific-claim-of-that-comp'.Handy would also be the possibility to pass in more than one, to not have to run the command multiple times. Somehow separated for example by a comma as for ignore-paths:
crossplane-diff comp pr-composition.yaml --resources='some-ns/specific-claim-of-that-comp,some-ns2/other-specific-claim-of-that-comp'This could also be handy when implementing a composition or debugging and just wanting to check against a single specific resource.