Skip to content
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

Cannot Modify ClusterRole due to ClusterRoleBinding roleRef Immutable Field #439

Open
padraigmc opened this issue Jan 17, 2025 · 0 comments
Assignees

Comments

@padraigmc
Copy link
Member

In the Kraan Helm chart, the roleRef attribute in ClusterRoleBinding is immutable. If the ClusterRole name changes, it leads to a bug because the ClusterRoleBinding cannot be updated with the new ClusterRole name.

To fix this issue, we need to make the ClusterRoleBinding name configurable with a default name. This change will force Helm to delete and recreate the ClusterRoleBinding whenever there is a name change, ensuring the correct ClusterRole is referenced.

@padraigmc padraigmc self-assigned this Jan 17, 2025
@padraigmc padraigmc added bug Something isn't working and removed bug Something isn't working labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant