Skip to content

Commit

Permalink
change clusterrole name to not interfere with the clusterrole view in…
Browse files Browse the repository at this point in the history
… kubernetes
  • Loading branch information
shaynafinocchiaro committed Jan 2, 2025
1 parent a6979d8 commit f3b7356
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/csm-authorization-v2.0/templates/proxy-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: view
name: csm-auth-view
rules:
- apiGroups: [""]
resources: ["configmaps"]
Expand All @@ -15,7 +15,7 @@ metadata:
name: opa-viewer
roleRef:
kind: ClusterRole
name: view
name: csm-auth-view
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: Group
Expand Down
4 changes: 2 additions & 2 deletions charts/csm-authorization/templates/proxy-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: view
name: csm-auth-view
rules:
- apiGroups: [""]
resources: ["configmaps"]
Expand All @@ -15,7 +15,7 @@ metadata:
name: opa-viewer
roleRef:
kind: ClusterRole
name: view
name: csm-auth-view
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: Group
Expand Down

0 comments on commit f3b7356

Please sign in to comment.