-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Giving me temp access to test rolebinding migration (#5303)
* 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
1 parent
3587883
commit 98418be
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ kind: Kustomization | |
resources: | ||
- ../base/server/config/crd/ | ||
- ../../team/kyverno | ||
- temp-dperaza-rbac.yaml |
27 changes: 27 additions & 0 deletions
27
components/workspaces/staging/stone-stg-rh01/temp-dperaza-rbac.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |