Closed qvmedvedev closed 4 years ago
I do not think this is an issue with the operator but an issue with the chart you are using, doing a helm upgrade -i
dry-run upgrade with the exact same values as specified in the HelmRelease
will likely yield the same result.
@hiddeco this seems like a RBAC issue, Helm Operator was installed with a role and on upgrade Helm v3 tries to query secrets at cluster level instead of namespace level.
@stefanprodan you are absolutely right. Sorry about that @qvmedvedev, I am not having my brightest day today.
We used to not pass along the namespace for dry-run operations, this has been fixed in https://github.com/fluxcd/helm-operator/commit/6f0daff9c9815059cd7182e24126d56a44c9a830 but not made it to a release yet. Can you please try the following image from our prerelease
images, and report back if this resolves the issue for you @qvmedvedev? fluxcd/helm-operator-prerelease:master-3f64a324
Yeah, fluxcd/helm-operator-prerelease:master-3f64a324
has fixed my issue. Great, thanks!
Describe the bug After successful chart installation/upgrade dry-run upgrade check fails
To Reproduce Create namespace
Create custom values file
Install helm-operator using that file
Create HelmRelease
Get helmreleases
Get helmreleases after 5 minutes
Expected behavior Dry-run checks pass successfully
Logs
Additional context