kostis-codefresh / gitops-environment-promotion

Example for promoting a release between different GitOps environments
https://codefresh.io/about-gitops/how-to-model-your-gitops-environments-and-promote-releases-between-them/
275 stars 139 forks source link

Helm and autopilot example #3

Open rgarrigue opened 1 year ago

rgarrigue commented 1 year ago

Hello

I wish there was

Thanks for the great insight, especially the blog article. Even if the example here miss "our" use case, it helps a lot thinking about the whole

kostis-codefresh commented 1 year ago

Hello

Regarding Helm, there is a section "Using Helm with GitOps environments" in the article itself. It is the basic case, but it should give you an idea. Do you need something more specific?

Regarding autopilot, the same things still apply. Autopilot uses folders/files for the apps, so anything explained in the article should be true for autopilot as well. Have you seen otherwise?

rgarrigue commented 1 year ago

Hello

The autopilot part isn't that difficult as I've been setting up & using ArgoCD for months.

What bring me here is the need to iterate over our setup, as we're going past the handful of management that we could deal manually with, toward the "QA want 4 more new envs, there is drift between envs, ops Y is trying to apply a fix but ops X actually on vacation already dealt with it couple of weeks ago in env Z but wasn't obvious ... ". The most tricky topic of your article. Promoting is less an issue for us, as we dealt with it through pipeline which are doing `sed -i "s;version: .*; version: $new_version;" in Helm charts' values-.yaml. Will be easier to deal with your way though.

I indeed missed the Helm section, as I read the article fully months ago and was just looking at the beginning now. Sorry about that. Basically what I am / I was missing is a "full" example encompassing ArgoCD + helm, according to the article way of doing things. I get it that the article is GitOps tool agnostic. But a real life, down to earth example is what work best for me. Maybe an idea for a subsequent article ? I guess I'll be good on my own, just have to figure out how to tell ApplicationSet to load all the values in all the folder

Anyway thanks for your help, highly appreciated :pray: