Skip to content

How to prevent namespace from being deleted? #1289

Answered by stefanprodan
eisig asked this question in Q&A
Discussion options

You must be logged in to vote

From the docs https://toolkit.fluxcd.io/components/kustomize/kustomization/#garbage-collection

You can disable pruning for certain resources by either labeling or annotating them with:
kustomize.toolkit.fluxcd.io/prune: disabled

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eisig
Comment options

Answer selected by eisig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants