mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 15:49:28 +00:00
[nfs-client-provisioner] Import from helm/stable repo (#11)
* Import nfs-client-provisioner from helm/stable repo * Update chart testing * Correct testing
This commit is contained in:
19
charts/nfs-client-provisioner/templates/rolebinding.yaml
Normal file
19
charts/nfs-client-provisioner/templates/rolebinding.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- if .Values.rbac.create }}
|
||||
kind: RoleBinding
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "nfs-client-provisioner.name" . }}
|
||||
chart: {{ template "nfs-client-provisioner.chart" . }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: leader-locking-{{ template "nfs-client-provisioner.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "nfs-client-provisioner.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
kind: Role
|
||||
name: leader-locking-{{ template "nfs-client-provisioner.fullname" . }}
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user