Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kustomization: garbage collection #498

Closed
disconn3ct opened this issue Sep 5, 2021 · 0 comments · Fixed by fluxcd/kustomize-controller#426
Closed

Kustomization: garbage collection #498

disconn3ct opened this issue Sep 5, 2021 · 0 comments · Fixed by fluxcd/kustomize-controller#426

Comments

@disconn3ct
Copy link

Given the confusion around resources being changed and re-annotated (fluxcd/flux2#626 fluxcd/kustomize-controller#403 fluxcd/kustomize-controller#213 etc) perhaps it would be helpful to have a warning in the GC section of the documentation. With phrasing styling from HelmReleases, something similar to:

To enable garbage collection, set spec.prune to true.

There is one caveat you should be aware of: the changing labels will cause generated objects to report configured (changed) on every new source repository commit, regardless of the impact of the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant