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

fix: fix kustomization ClusterRoleBinding roleRef #69

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Mar 27, 2024

What this PR does / why we need it:

1.2.0 introduce a change in ClusterRoleBinding roleRef which causes the following errors when users try to upgrade using default kustomization:

The ClusterRoleBinding "gateway-operator-manager-rolebinding" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"ClusterRole", Name:"gateway-operator-gateway-operator-manager-role"}: cannot change roleRef

This PR fixes that by removing the unnecessary prefix.

Additionally this PR adds a kustomization which contains only the DataPlane CRD to workaround the breaking changes from 1.2 in ControlPlane and GatewayConfiguration CRDs.

@pmalek pmalek self-assigned this Mar 27, 2024
@pmalek pmalek requested a review from a team as a code owner March 27, 2024 10:09
@pmalek pmalek merged commit fecf829 into main Apr 2, 2024
13 checks passed
@pmalek pmalek deleted the kustomization-fix-role branch April 2, 2024 09:27
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

Successfully merging this pull request may close these issues.

3 participants