Order of resources to be applied #2276
-
|
Hi, how should I manage the order of resources being applied? I am trying to deploy rook ceph operator with one instance of ceph cluster and it fails because CRDs are created via helm chart release. How can I make flux order so helm chart is deployed first? Right now it is not even getting to helm chart as it fails on a missing CRD. My error code: Related issue which is closed: fluxcd/flux#2170 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
You need to use two Flux Kustomizations, one that deploys the HelmRelease with |
Beta Was this translation helpful? Give feedback.
-
|
3+ years later, is there anything in the more recent versions of Flux, especially the Flux Operator, that providers feature-driven ordering/dependency management of reconcilations? |
Beta Was this translation helpful? Give feedback.
You need to use two Flux Kustomizations, one that deploys the HelmRelease with
wait: true, and the 2nd one thatdependsOnthe first one. See here the docs: https://fluxcd.io/docs/components/kustomize/kustomization/#kustomization-dependencies