We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fb90f7 commit ce2849cCopy full SHA for ce2849c
charts/nfs-subdir-external-provisioner/templates/deployment.yaml
@@ -24,6 +24,8 @@ spec:
24
{{- include "nfs-subdir-external-provisioner.podLabels" . | nindent 8 }}
25
spec:
26
serviceAccountName: {{ template "nfs-subdir-external-provisioner.serviceAccountName" . }}
27
+ securityContext:
28
+ {{- toYaml .Values.podSecurityContext | nindent 8 }}
29
{{- if .Values.nodeSelector }}
30
nodeSelector:
31
{{ toYaml .Values.nodeSelector | indent 8 }}
@@ -43,6 +45,8 @@ spec:
43
45
- name: {{ .Chart.Name }}
44
46
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
47
imagePullPolicy: {{ .Values.image.pullPolicy }}
48
49
+ {{- toYaml .Values.securityContext | nindent 12 }}
50
volumeMounts:
51
- name: {{ .Values.nfs.volumeName }}
52
mountPath: /persistentvolumes
0 commit comments