diff --git a/chart/templates/clusterrolebinding.yaml b/chart/templates/clusterrolebinding.yaml index 95707a1b3..edebb6c0e 100644 --- a/chart/templates/clusterrolebinding.yaml +++ b/chart/templates/clusterrolebinding.yaml @@ -1,7 +1,7 @@ kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: system:cloud-controller-manager + name: "system:{{ include "hcloud-cloud-controller-manager.name" . }}" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/deploy/ccm-networks.yaml b/deploy/ccm-networks.yaml index a6f752d27..4fb0784b5 100644 --- a/deploy/ccm-networks.yaml +++ b/deploy/ccm-networks.yaml @@ -10,7 +10,7 @@ metadata: kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: system:cloud-controller-manager + name: "system:hcloud-cloud-controller-manager" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/deploy/ccm.yaml b/deploy/ccm.yaml index 25c404bed..a907b9edf 100644 --- a/deploy/ccm.yaml +++ b/deploy/ccm.yaml @@ -10,7 +10,7 @@ metadata: kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: system:cloud-controller-manager + name: "system:hcloud-cloud-controller-manager" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole