Skip to content

Commit

Permalink
Giving me temp access to test rolebinding migration (#5303)
Browse files Browse the repository at this point in the history
* Giving me temp access to test rolebinding migration

Signed-off-by: David Peraza <dperaza@redhat.com>

* Adding reference in kustomization

Signed-off-by: David Peraza <dperaza@redhat.com>

---------

Signed-off-by: David Peraza <dperaza@redhat.com>
  • Loading branch information
dperaza4dustbit authored Jan 16, 2025
1 parent 3587883 commit 98418be
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kind: Kustomization
resources:
- ../base/server/config/crd/
- ../../team/kyverno
- temp-dperaza-rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: dperaza-role-temp
rules:
- verbs:
- get
- list
- create
- delete
apiGroups:
- 'rbac.authorization.k8s.io'
resources:
- rolebindings
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: dperaza-role-binding-temp
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: dperaza
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: dperaza-role-temp

0 comments on commit 98418be

Please sign in to comment.