-
|
Hi guys, I am really struggling to get an idea for deployment for multiple env's, currently, I am adding the Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
Greetings, have you had a look at the https://github.com/fluxcd/flux2-kustomize-helm-example example repo? It shows a solution with two environments, "staging" and "production" – I think this is the recommended approach. Some background discussion is here: fluxcd/flux#1071 – you may find some helpful information there; the discussion was quite long, and it culminated in the flux2-kustomize-helm-example that I have linked above. Please have a look at the flux2-kustomize-helm example that was linked above, and let us know if that helps! |
Beta Was this translation helpful? Give feedback.
-
|
@kingdonb thanks for your answer, I create a branch per environment and now flux syncing based on branches. |
Beta Was this translation helpful? Give feedback.
-
|
Just stumbled across this when trying to figure out how to manage progressive rollouts e.g. deploying to a test environment first before rolling out changes to other environments. Using Flux with OCI for this really help. You're able to simply to treat your platform code exactly like your app code and bundle it into a versioned deployable artifact and publish it to an immutable registry (just like you do with Docker). This separation between code and artifact provides real freedom in how and when you want to update things. Also it avoids all the merge hell and entanglement with managing multiple git branches for things. |
Beta Was this translation helpful? Give feedback.
Greetings, have you had a look at the https://github.com/fluxcd/flux2-kustomize-helm-example example repo? It shows a solution with two environments, "staging" and "production" – I think this is the recommended approach.
Some background discussion is here: fluxcd/flux#1071 – you may find some helpful information there; the discussion was quite long, and it culminated in the flux2-kustomize-helm-example that I have linked above.
Please have a look at the flux2-kustomize-helm example that was linked above, and let us know if that helps!