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
Annotating manifests with kustomize.toolkit.fluxcd.io/prune: disabled does not prevent kustomize-controller to label it with checksum.
We really need this to deal with other operator behavior that restarts pods when labels has changed without manually creating Kustomization with prune: false.
This is expected behavior, as the prune annotation is used to exclude objects during pruning, and not to disable tracking of the resources applied by the controller.
But disabling prune is the only way to deal with such operators. For example see fluxcd/flux2#414. And #305 is clearly declares that disabling prune also disables checksum label generation
Exactly. But from a base perspective these are the same exact setting that disables pruning feature. And behavior of the one is different from another. This is a bit confusing
Describe the bug
Annotating manifests with
kustomize.toolkit.fluxcd.io/prune: disabled
does not prevent kustomize-controller to label it withchecksum
.We really need this to deal with other operator behavior that restarts pods when labels has changed without manually creating Kustomization with
prune: false
.To Reproduce
Steps to reproduce the behaviour:
kubectl get ns test -oyaml
Expected behavior
Resource without label
kustomize.toolkit.fluxcd.io/checksum: 0c136b62906ab0a3976c5bbcc5fd7aa8ab54de61
The text was updated successfully, but these errors were encountered: