kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ include "aws-efs-csi-pv-provisioner.serviceAccountName" . }} labels: {{- include "aws-efs-csi-pv-provisioner.labels" . | nindent 4 }} {{- with .Values.serviceAccount.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} subjects: - kind: ServiceAccount name: {{ include "aws-efs-csi-pv-provisioner.serviceAccountName" . }} roleRef: kind: Role name: {{ include "aws-efs-csi-pv-provisioner.serviceAccountName" . }} apiGroup: rbac.authorization.k8s.io