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 (#593)
  • Loading branch information
shaynafinocchiaro authored Jan 7, 2025
1 parent cbf6e72 commit cf4f8f9
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 cf4f8f9

Please sign in to comment.