Auto suspend a Kustomization once reconciled? #2689
-
I'm looking into how I could suspend automatically a I've looked into the Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
For Kubernetes Jobs there is no need to suspend the Flux Kustomization, Flux performs a dry-run and only applies things that change, in case of a Job it will not run it again, unless you change it in Git and you set |
Beta Was this translation helpful? Give feedback.
For Kubernetes Jobs there is no need to suspend the Flux Kustomization, Flux performs a dry-run and only applies things that change, in case of a Job it will not run it again, unless you change it in Git and you set
Kustomization.spec.force
totrue
. See here how Flux handles Kubernetes Jobs: https://fluxcd.io/docs/use-cases/running-jobs/