-
Notifications
You must be signed in to change notification settings - Fork 262
Helm is Constantly creating new releases for charts even when no changes #659
Comments
Hello, thanks for the report. We have released a new Helm Operator 1.4.4 this week, it may solve your issue. We cannot support Helm Operator as the maintenance has been declared EOL for over a year, I recommend migrating to Helm Controller and Flux v2. If there is a bug that has crept in and it was not caught by the E2E, I apologize. If there's a previous release of Helm Operator which does not have this bug, or if the later version does not have this issue, welcome to reopen, but as the releases passed E2E testing, the best advice I can give is to migrate to Flux v2 which has a vibrant support and is in active development. The Helm Controller receives a lot of love from Flux developers and is receiving an overhaul as well in the present/near future releases. It is already several times more efficient and powerful all around than Helm Operator. I can only recommend it very highly for Helm users all around. In any case, please let us know if there is anything we can do to make your migration to Flux v2 a smoother one! Thank you for your report, sorry that you are having this issue. |
Sorry, I have just closed all reports that were over a year old and this one got caught in the crossfire. (Reopened) I did also find these similar reports when I was doing that: |
I've reopened #457 for visibility, since there are fresh reports it should probably remain open until we can resolve it or until the repo is archived. And since that one has a longer discussion and has had multiple maintainers weigh in there already, I'm going to close this one as a duplicate. Welcome to add follow-up comments here even though it is closed, (that would be more preferable than to alert everyone on the thread in #457 by moving the discussion over there, even though this is a duplicate.) |
I just noticed that you mentioned, you had the same issue in Helm Controller, but the Helm Controller version you have mentioned is very old:
If you do find this issue is recurring on current versions of Helm Controller, please update in a new issue on that repo. Issues on this repo are unlikely to get attention from the main Helm controller maintainers. If a fix is still needed or possible, that will be where it lands. There is also a "major" v0.24 release of Helm Controller due out soon, either the next coming Flux v0.x release, or the one that follows. So if your issue really hasn't been resolved in the current release, there is a decent chance that it will be fixed by the rewrite that's ongoing, which should be landing very soon (we think probably weeks at most) |
Describe the bug
Hello,
On my EKS cluster each time the flux sync runs, the helm operator tries to do an update and create a new release even without any change in the chart. Same helm operator version and monitoring addon helm release is running on several clusters but seeing issue only on few clusters.
Seeing same issue in Flux v2 as well, aws-auth configmap changes is keep on creating even when there isn't any changes in file.
Cluster Version: v1.20.11(EKS)
Helm Controller Version: helm-controller:v0.14.1
kustomize-controller version: v0.18.2
source-controller version: v0.19.2
To Reproduce
Steps to reproduce the behaviour:
HelmRelease example
Post the HelmRelease status:
Expected behavior
Monitoringaddon should only be deployed when there is any change.
Logs
ts=2022-08-17T07:30:04.359897699Z caller=helm.go:69 component=helm version=v3 info="Looks like there are no changes for Ingress \"monitoringaddon-grafana\"" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:04.37198082Z caller=helm.go:69 component=helm version=v3 info="Looks like there are no changes for Ingress \"monitoringaddon-prometheus-alertmanager\"" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:04.387080699Z caller=helm.go:69 component=helm version=v3 info="Looks like there are no changes for Ingress \"monitoringaddon-prometheus-prometheus\"" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:05.376122429Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" ServiceAccount" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:05.384348658Z caller=helm.go:69 component=helm version=v3 info="serviceaccounts \"monitoringaddon-prometheus-admission\" not found" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:06.231529351Z caller=helm.go:69 component=helm version=v3 info="creating 1 resource(s)" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:06.243600849Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" ClusterRole" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:06.248345509Z caller=helm.go:69 component=helm version=v3 info="clusterroles.rbac.authorization.k8s.io \"monitoringaddon-prometheus-admission\" not found" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:07.079869471Z caller=helm.go:69 component=helm version=v3 info="creating 1 resource(s)" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:07.095985215Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" ClusterRoleBinding" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:07.100762571Z caller=helm.go:69 component=helm version=v3 info="clusterrolebindings.rbac.authorization.k8s.io \"monitoringaddon-prometheus-admission\" not found" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:07.945807948Z caller=helm.go:69 component=helm version=v3 info="creating 1 resource(s)" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:07.957947912Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" Role" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:07.965741404Z caller=helm.go:69 component=helm version=v3 info="roles.rbac.authorization.k8s.io \"monitoringaddon-prometheus-admission\" not found" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:08.844221082Z caller=helm.go:69 component=helm version=v3 info="creating 1 resource(s)" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:08.858515314Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" RoleBinding" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:08.863244981Z caller=helm.go:69 component=helm version=v3 info="rolebindings.rbac.authorization.k8s.io \"monitoringaddon-prometheus-admission\" not found" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:09.678628936Z caller=helm.go:69 component=helm version=v3 info="creating 1 resource(s)" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:09.689869718Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission-patch\" Job" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:09.695901751Z caller=helm.go:69 component=helm version=v3 info="jobs.batch \"monitoringaddon-prometheus-admission-patch\" not found" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:10.510300093Z caller=helm.go:69 component=helm version=v3 info="creating 1 resource(s)" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:10.521815485Z caller=helm.go:69 component=helm version=v3 info="Watching for changes to Job monitoringaddon-prometheus-admission-patch with timeout of 5m0s" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:10.524689836Z caller=helm.go:69 component=helm version=v3 info="Add/Modify event for monitoringaddon-prometheus-admission-patch: ADDED" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:10.524712699Z caller=helm.go:69 component=helm version=v3 info="monitoringaddon-prometheus-admission-patch: Jobs active: 0, jobs failed: 0, jobs succeeded: 0" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:10.558093423Z caller=helm.go:69 component=helm version=v3 info="Add/Modify event for monitoringaddon-prometheus-admission-patch: MODIFIED" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:10.558131614Z caller=helm.go:69 component=helm version=v3 info="monitoringaddon-prometheus-admission-patch: Jobs active: 1, jobs failed: 0, jobs succeeded: 0" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.319712637Z caller=helm.go:69 component=helm version=v3 info="Add/Modify event for monitoringaddon-prometheus-admission-patch: MODIFIED" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.322212971Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" ServiceAccount" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.335082876Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" ClusterRole" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.347867939Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" ClusterRoleBinding" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.357674108Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" Role" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.368376867Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission\" RoleBinding" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:12.378087402Z caller=helm.go:69 component=helm version=v3 info="Starting delete for \"monitoringaddon-prometheus-admission-patch\" Job" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:13.180573638Z caller=helm.go:69 component=helm version=v3 info="updating status for upgraded release for monitoringaddon" targetNamespace=lamm release=monitoringaddon ts=2022-08-17T07:30:14.091783856Z caller=release.go:364 component=release release=monitoringaddon targetNamespace=lamm resource=lamm:helmrelease/monitoringaddon helmVersion=v3 info="upgrade succeeded" revision=39.5.0 phase=upgrade
Additional context
The text was updated successfully, but these errors were encountered: