gitops-environment-promotion icon indicating copy to clipboard operation
gitops-environment-promotion copied to clipboard

Helm and autopilot example

Open rgarrigue opened this issue 2 years ago • 2 comments

Hello

I wish there was

  • A helm based example of those, especially how to handle values overrides files via kustomize
  • And the whole integrated in a full autopilot based example

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

rgarrigue avatar Dec 29 '22 14:12 rgarrigue

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?

kostis-codefresh avatar Dec 29 '22 17:12 kostis-codefresh

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:

rgarrigue avatar Dec 30 '22 09:12 rgarrigue