Equivalent for --k8s-unsafe-exclude-resource in flux2 #996
-
Hi, we are currently using flux v1 with garbage collection enabled. Because we have some CRDs that have many instances and at the same time should never be touched by flux we exclude them using Is there an equivalent to this in flux2? I assume that the garbage collection still works in a way that it will iterate all instances of all CRDs and check for the annotations. I thought about using https://toolkit.fluxcd.io/components/kustomize/kustomization/#role-based-access-control but (I think) there is no simple way of expressing "you have access to all resources except A,B & C" Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The GC in Flux v2 is very different to v1. The GC no longer queries the Kubernetes API so there is no need for |
Beta Was this translation helpful? Give feedback.
The GC in Flux v2 is very different to v1. The GC no longer queries the Kubernetes API so there is no need for
unsafe-exclude-resource
.