You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I meet an issue of Helm release, the flux indeed successfully deployed the helm release(pod is healthy/svc is working) in cluster, however the helm always returns the status of release as pending-install. for example,
$ helm ls -A --filter pod --pending
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
podinfo app 1 2022-03-18 11:55:29.438559647 +0000 UTC pending-install podinfo-6.1.0 6.1.0
$ flux get hr -n app
NAME READY MESSAGE REVISION SUSPENDED
podinfo True Release reconciliation succeeded 6.1.0 False
the side effect is the subsequent update of helm release will fail due to the helm considers the release in existing install/upgrade operations.
I suspect it’s caused by using different storage namespace for helm release, looks like it works for flux to deploy the release, however the helm can not retrieve the release history information if the storage is not in the namespace of release.
You can reproduce this behavior with below manifest in your repo.
Should it be something address in upstream helm operator? It means the
field `storageName` of Helm release useless and error prone.
Hidde Beydals ***@***.***> 于 2022年3月18日周五 下午9:19写道:
It is not useless for the controller itself, as operations will succeed and it works well for some edge-case multi-tenancy scenarios. We could maybe do a better job documenting the behavior however.
It's my fault. The pending-install status was caused by the update op of secrets was missing in helm storage namespace.
But looks like the failure of updating helm storage secrets was not captured by Helm controller and updating the HelmRelease accordingly. I did not find any info from the logs of helm-controller.
I meet an issue of Helm release, the flux indeed successfully deployed the helm release(pod is healthy/svc is working) in cluster, however the helm always returns the status of release as pending-install. for example,
$ helm ls -A --filter pod --pending
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
podinfo app 1 2022-03-18 11:55:29.438559647 +0000 UTC pending-install podinfo-6.1.0 6.1.0
$ flux get hr -n app
NAME READY MESSAGE REVISION SUSPENDED
podinfo True Release reconciliation succeeded 6.1.0 False
the side effect is the subsequent update of helm release will fail due to the helm considers the release in existing install/upgrade operations.
I suspect it’s caused by using different storage namespace for helm release, looks like it works for flux to deploy the release, however the helm can not retrieve the release history information if the storage is not in the namespace of release.
You can reproduce this behavior with below manifest in your repo.
The text was updated successfully, but these errors were encountered: