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.
15 lines
425 B
15 lines
425 B
3 years ago
|
{{ if .Values.rbac.create }}
|
||
|
kind: ClusterRoleBinding
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-provisioner-runner
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: rook-nfs-server
|
||
|
# replace with namespace where provisioner is deployed
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
roleRef:
|
||
|
kind: ClusterRole
|
||
|
name: rook-nfs-provisioner-runner
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
{{ end }}
|