diff --git a/aws-ebs-csi-driver/templates/rolebinding-snapshot-controller-leaderelection.yaml b/aws-ebs-csi-driver/templates/rolebinding-snapshot-controller-leaderelection.yaml index 11d8ed49b1..1b7f71ecc9 100644 --- a/aws-ebs-csi-driver/templates/rolebinding-snapshot-controller-leaderelection.yaml +++ b/aws-ebs-csi-driver/templates/rolebinding-snapshot-controller-leaderelection.yaml @@ -3,7 +3,7 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: snapshot-controller-leaderelection + name: ebs-snapshot-controller-leaderelection namespace: kube-system labels: {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} @@ -13,7 +13,7 @@ subjects: namespace: kube-system roleRef: kind: Role - name: snapshot-controller-leaderelection + name: ebs-snapshot-controller-leaderelection apiGroup: rbac.authorization.k8s.io {{- end }} diff --git a/deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_leaderelection_rolebinding.yaml b/deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_leaderelection_rolebinding.yaml index 6cf00e14e8..e7d01714ac 100644 --- a/deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_leaderelection_rolebinding.yaml +++ b/deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_leaderelection_rolebinding.yaml @@ -3,7 +3,7 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: snapshot-controller-leaderelection + name: ebs-snapshot-controller-leaderelection namespace: kube-system labels: app.kubernetes.io/name: aws-ebs-csi-driver @@ -13,5 +13,5 @@ subjects: namespace: kube-system roleRef: kind: Role - name: snapshot-controller-leaderelection + name: ebs-snapshot-controller-leaderelection apiGroup: rbac.authorization.k8s.io