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.
20 lines
594 B
20 lines
594 B
3 years ago
|
{{- if .Values.rbac.create -}}
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRoleBinding
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: {{ include "nfs-provisioner.name" . }}
|
||
|
chart: {{ include "nfs-provisioner.chart" . }}
|
||
|
heritage: {{ .Release.Service }}
|
||
|
release: {{ .Release.Name }}
|
||
|
name: {{ include "nfs-provisioner.fullname" . }}
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: {{ include "nfs-provisioner.fullname" . }}
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: {{ include "nfs-provisioner.fullname" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
{{- end }}
|