fluxcd / helm-operator-get-started

Managing Helm releases with Flux Helm Operator
MIT License
455 stars 674 forks source link

Didn't see any changes after running ci-mock.sh? #64

Open ZillaG opened 3 years ago

ZillaG commented 3 years ago

I ran the following command, keeping in mind to use my dockerhub username, and it did push a Docker image with a dev-xxxx tag. What's supposed to happen isn't clear after that.

cd hack && ./ci-mock.sh -r zillag/podinfo -b dev

The walkthrough says

With the fluxcd.io/automated annotations I instruct Flux to automate this release. When a new tag with the prefix dev is pushed to Docker Hub, Flux will update the image field in the yaml file, will commit and push the change to Git and finally will apply the change on the cluster.

Some questions:

hiddeco commented 3 years ago

A very strong advise to stop looking into the Helm Operator and continue to look at the helm-controller (and Flux v2 in general), as both Flux v1 and the Helm Operator are in maintenance mode.

Some starter points on automated Helm releases with Flux2:

ZillaG commented 3 years ago

I'll heed your advise, thanks. In the meantime, is the README.md information in the repo obsolete now? This is my first foray into helm+flux, and although I understand the concept, I'm just now developing my experience.

hiddeco commented 3 years ago

In the meantime, is the README.md information in the repo obsolete now? This is my first foray into helm+flux, and although I understand the concept, I'm just now developing my experience.

It is for Flux2, as this was build from the ground up. The Flux2 version of doing things is covered in: https://github.com/fluxcd/flux2-kustomize-helm-example (and https://github.com/fluxcd/flux2-multi-tenancy for multi-tenancy).

We are planning on archiving this repository in the near future to make it more obvious, as we did for the other examples.