Skip to content

Commit

Permalink
rename ClusterRole and CRB
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrancisc committed Mar 5, 2024
1 parent 1c3586f commit 5b6bdb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/toolchaincluster/member-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rules:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: toolchaincluster-member-{{.Namespace}}-toolchaincluster
name: toolchaincluster-{{.Namespace}}
rules:
- apiGroups:
- authentication.k8s.io
Expand Down Expand Up @@ -93,12 +93,12 @@ rules:
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: toolchaincluster-member-{{.Namespace}}-toolchaincluster
name: toolchaincluster-{{.Namespace}}
subjects:
- kind: ServiceAccount
name: toolchaincluster-member
namespace: {{.Namespace}}
roleRef:
kind: ClusterRole
name: toolchaincluster-member-{{.Namespace}}-toolchaincluster
name: toolchaincluster-{{.Namespace}}
apiGroup: rbac.authorization.k8s.io

0 comments on commit 5b6bdb0

Please sign in to comment.