Proposal: spec.decryption.failurePolicy to tolerate individual SOPS decrypt errors #5797
-
ProblemWhen a Kustomization with We reconcile ~70 independent services per environment through one Kustomization: apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: apps
spec:
path: ./hb/prod/apps
decryption:
provider: sopsEach service has its own Proposed solutionAdd a spec:
decryption:
provider: sops
failurePolicy: skip
WorkaroundSplit every application into its own Kustomization. For platforms with 60–80 services across multiple environments this means managing 200+ Kustomization CRDs instead of ~5, adding significant operational overhead. Additional context
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Flux is not meant to do partial applies. The recommended way is to have a dedicated Flux Kustomization per app. PS. You can easily generate a Flux Kustomization per app with a single ResourceSet. Docs here: |
Beta Was this translation helpful? Give feedback.
-
|
Appreciate the response, @stefanprodan! Unfortunately, we are not running Fluxoperator at the moment. |
Beta Was this translation helpful? Give feedback.
Flux is not meant to do partial applies. The recommended way is to have a dedicated Flux Kustomization per app.
PS. You can easily generate a Flux Kustomization per app with a single ResourceSet. Docs here: