-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HelmRelease reconciliation failed: failed to get last release revision #3976
Comments
Hey @UGS-DanielSoriano thank you for reporting this. Is this still an issue? We had some issues yesterday when we created a new release of Weave GitOps and it's likely that you were affected by that, if you got this error yesterday. However, it should be fine now with v0.31.2, can you confirm if this has been resolved? |
Hey @yiannistri, I retried it and there is a new error. Here is what I am getting.
|
There may still be some resources installed in your cluster, from the previous (failed) attempt to install Weave GitOps. You can try removing the Weave GitOps HelmRelease resource from your Git repo (comment it out so that Flux doesn't interfere), then use |
I tried to remove it and check the cluster if there are weave gitops resources, then add it back again but it still the same error. Btw I followed this to create RBAC for the HelmRelease since we have Multi-Tenancy Lockdown in the kustomization. I am not sure if there are missing rules for the Role of something? since the service account attached to the HelmRelease |
Yeah, I think we may be missing some rules. I'll attempt to reproduce this using the Flux RBAC guide you've linked and report back. |
Hey @yiannistri, do we have any updates on this please? |
Apologies for the slow response, I plan to take a look at this, this evening. |
Hi @yiannistri, may we follow up on this please? |
Hey @UGS-DanielSoriano I was able to reproduce this error. I'm now tweaking the role rules to see if that fixes the permission error. |
Hey @UGS-DanielSoriano, I've managed to get the Weave GitOps Helm release installed with a service account, without errors. Here's what I used (tested installation on a kind cluster bootstrapped with Flux):
I have assumed that you want the minimum set of permissions required for the default installation, which includes the need to create cluster roles/cluster role bindings. Hope this helps, let me know if you have any more questions. |
It works! thanks @yiannistri |
I am getting a
HelmRelease reconciliation failed: failed to get last release revision
. I followed this command:Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The reconcilation of helm release will be ready.
Actual Behavior
HelmRelease reconciliation failed: failed to get last release revision
Additional Context (screenshots, logs, etc)
The text was updated successfully, but these errors were encountered: