-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Chart release not getting deployed via flux #3463
Comments
I don't want to assume you have installed Helm Operator correctly just because the CRD seems to be available. However, since you haven't mentioned Helm Operator, I also can't assume you have installed it correctly... If you run Flux itself is not responsible for installing Helm releases, it will only sync HelmRelease definitions (CRD-custom resources) to the cluster and wait for the operator to take action on them. When the operator reconciles a HelmRelease, if all goes well, it will be installed with a helm client, as any other (non-operator-managed) helm releases, where you can find it with If you have installed Helm Operator to go with Flux, and Based on the API versions in the snips you posted, it looks like you are either working from a very old tutorial, or with a very old cluster that has an older Helm Operator installation on it. The
Helm Operator and Flux v1 are deprecated for Flux v2 (#3320) and have been effectively replaced by Helm Controller, which has passed feature parity some time ago, definitely receives more attention, and is currently in active development. Please consider upgrading to Flux v2. In the mean time, if an upgrade across MAJOR releases isn't practical right now, please at least make sure your Helm Operator and Helm Operator CRDs are all on the latest version before seeking support. Many issues have been fixed, and will continue to be fixed while these repos remain in maintenance status. The latest Flux v2 documentation and other materials can be found at https://toolkit.fluxcd.io For documentation on Flux v1 and helm operator, it can still be found at https://docs.fluxcd.io |
@kingdonb - Thanks so much for the prompt response. Actually my Kubernetes cluster has been upgraded to 1.17.17-gke.2800 but some of the api's referenced in the Helm chart and Release are still old. So currently i am trying to update the apiversion of chart and releases as per doc - here For example:- (This is just to help if someone references this issue for a similar problem)
The above helm release will be modified as below to change the apiversion which was depreceated
Once i am done resolving the issue i will update the issue again |
Is there any update on this? I'd like to close. |
Thanks @kingdonb so much for your help. Post making the change it is working now. Appreciate your help |
Hi ,
I have the below HelmRelease in prj-dev environment:-
Even when the flux sync happens in prj-dev, this releases are not getting deployed. I manually tried to deploy the chart and it works fine
Can you kindly let me know how to check why the HelmRelease are not getting deployed via Flux? How to troubleshoot this kind of issues? Thanks
The text was updated successfully, but these errors were encountered: