Skip to content

Commit

Permalink
Merge pull request #5904 from crossplane/backport-5884-to-release-1.17
Browse files Browse the repository at this point in the history
[Backport release-1.17] Add secrets.crossplane.io grant rules to RBAC manager roles, even though the feature is alpha.
  • Loading branch information
phisco authored Aug 20, 2024
2 parents 4ff8d80 + de9f65f commit e44b7cf
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ rules:
- pkg.crossplane.io
resources: ["*"]
verbs: ["*"]
- apiGroups:
- secrets.crossplane.io
resources: ["*"]
verbs: ["*"]
# Crossplane administrators have access to view CRDs in order to debug XRDs.
- apiGroups: [apiextensions.k8s.io]
resources: [customresourcedefinitions]
Expand Down Expand Up @@ -139,6 +143,10 @@ rules:
- pkg.crossplane.io
resources: ["*"]
verbs: ["*"]
- apiGroups:
- secrets.crossplane.io
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -166,6 +174,10 @@ rules:
- pkg.crossplane.io
resources: ["*"]
verbs: [get, list, watch]
- apiGroups:
- secrets.crossplane.io
resources: ["*"]
verbs: [get, list, watch]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down

0 comments on commit e44b7cf

Please sign in to comment.