Interlegis Public Rancher Charts for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
570 B

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