Skip to content

Commit

Permalink
Fix cluster resource name conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: francostellari <[email protected]>
  • Loading branch information
francostellari committed Apr 4, 2024
1 parent bb91c24 commit 36891b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chart/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: transport-controller-role
name: {{.Values.wds_cp_name}}-transport-controller-role
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -52,11 +52,11 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: transport-controller-rolebinding
name: {{.Values.wds_cp_name}}-transport-controller-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: transport-controller-role
name: {{.Values.wds_cp_name}}-transport-controller-role
subjects:
- kind: ServiceAccount
name: transport-controller-sa
Expand Down

0 comments on commit 36891b2

Please sign in to comment.