You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've tried a delete patch on a HelmRelease but it doesn't work because I think kustomize doesn't know about the CRD and so it can't do it - ref kubernetes-sigs/kustomize#4596
Because the result I get is a literal "$patch" in my configMap and all other items in the list are removed.
And I can't use "op: remove" with an index for items in the list, as the list is not ordered so the patch may remove another item instead.
So how would I get the patch to use openapi and point it to the HelmRelease CRD schema, so it knows how to patch it properly?
Or should I be doing this some other way?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So I've tried a delete patch on a HelmRelease but it doesn't work because I think kustomize doesn't know about the CRD and so it can't do it - ref kubernetes-sigs/kustomize#4596
Because the result I get is a literal "$patch" in my configMap and all other items in the list are removed.
And I can't use "op: remove" with an index for items in the list, as the list is not ordered so the patch may remove another item instead.
So how would I get the patch to use openapi and point it to the HelmRelease CRD schema, so it knows how to patch it properly?
Or should I be doing this some other way?
Beta Was this translation helpful? Give feedback.
All reactions