Skip to content

Apply (cluster)role before (cluster)rolebinding by default#273

Merged
cbarbian-sap merged 1 commit into
mainfrom
fix-apply-order-of-rbac
Apr 11, 2025
Merged

Apply (cluster)role before (cluster)rolebinding by default#273
cbarbian-sap merged 1 commit into
mainfrom
fix-apply-order-of-rbac

Conversation

@cbarbian-sap
Copy link
Copy Markdown
Contributor

With restricted privileges (that is not having full cluster-admin rights) it K8s checks that a roles or cluster roles assigned through a rolebinding or clusterrolebinding exist. Because of this, (cluster)roles must be always created before (cluster)rolebindings referencing them.

@cbarbian-sap cbarbian-sap merged commit d9ed452 into main Apr 11, 2025
@cbarbian-sap cbarbian-sap deleted the fix-apply-order-of-rbac branch April 11, 2025 10:36
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.

1 participant