Repository navigation
|
Hello, I'm migrating to decryption in my git repo, the problem is I need to add the Best |
Replies: 2 comments
|
Flux objects are reconciled independently, from a controller perspective there is no parent/child relationship and this will not change as it breaks the design of Flux. You can write patches that target child Kustomizations in the parent with |
|
yeah - there’s no “inherit two different things get mixed up here:
practical options
there isn’t a cluster-level “default decryption for all Kustomizations” today - so either widen to one CR, or stamp |
yeah - there’s no “inherit
decryptionto every child” knob on a parent FluxKustomization.two different things get mixed up here:
kustomization.yamlfiles - those don’t take a Fluxdecryption:stanza at all. SOPS/age is handled by the FluxKustomizationCR when it builds that path.KustomizationCRs (kustomize.toolkit.fluxcd.io) -spec.decryptionis per CR. a parent thatdependsOn/ applies other Kustomizations does not recurse its decryption config into them. same for CRs Flux generates on the fly - each object needs its ownspec.decryption(or it just won’t decrypt).practical options