diff --git a/charts/pv-resizer/v0.1.0/templates/rbac.yaml b/charts/pv-resizer/v0.1.0/templates/rbac.yaml index ca8263b..78ac40b 100644 --- a/charts/pv-resizer/v0.1.0/templates/rbac.yaml +++ b/charts/pv-resizer/v0.1.0/templates/rbac.yaml @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: {{ .Release.Name }} + name: {{ .Release.Name }}-role labels: {{- include "pv-resizer.labels" . | nindent 4 }} rules: @@ -22,13 +22,13 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ .Release.Name }} + name: {{ .Release.Name }}-binding labels: {{- include "pv-resizer.labels" . | nindent 4 }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: {{ .Release.Name }} + name: {{ .Release.Name }}-role subjects: - kind: ServiceAccount name: {{ include "pv-resizer.serviceAccountName" . }}