-
Notifications
You must be signed in to change notification settings - Fork 280
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
plugin requires PATCH verb when using three way merge #465
Comments
what role do you use for helm diff? We need to do the same our CI pipelines such that no resources can be updated in PRs but only in merges to main. |
Hi @bsgrigorov, after some months... We use something like this (custom CRD removed):
|
I am running into this issue as well. Has anyone found a workaround? |
Same problem. Don't really understand why write permissions are needed for three way merge. Error seems to be coming from here: https://github.com/databus23/helm-diff/blob/master/cmd/upgrade.go#L439 |
Hi!
We are using helm-diff plugin behind helmfile.
In our CD pipelines we need to use a "read only" service account to see changes.
When using three way merge, it seems that the
PATCH
verb is required on the role.Without
HELM_DIFF_THREE_WAY_MERGE=true
option no error occurs.Unfortunatly, we can't allow this SA to have patch permission.
Is there a way to bypass this or change the code to not require this permission?
Thanks
The text was updated successfully, but these errors were encountered: