Merge pull request #171 from danieljkemp/securitycontext
Add securityContext options to Helm Chart, bump chart version - Related to Issue #97
This commit is contained in:
		
						commit
						8e17ace84f
					
				|  | @ -3,7 +3,7 @@ appVersion: 4.0.2 | ||||||
| description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes. | description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes. | ||||||
| name: nfs-subdir-external-provisioner | name: nfs-subdir-external-provisioner | ||||||
| home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner | home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner | ||||||
| version: 4.0.14 | version: 4.0.15 | ||||||
| kubeVersion: ">=1.9.0-0" | kubeVersion: ">=1.9.0-0" | ||||||
| sources: | sources: | ||||||
| - https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner | - https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner | ||||||
|  |  | ||||||
|  | @ -24,6 +24,8 @@ spec: | ||||||
|         {{- include "nfs-subdir-external-provisioner.podLabels" . | nindent 8 }} |         {{- include "nfs-subdir-external-provisioner.podLabels" . | nindent 8 }} | ||||||
|     spec: |     spec: | ||||||
|       serviceAccountName: {{ template "nfs-subdir-external-provisioner.serviceAccountName" . }} |       serviceAccountName: {{ template "nfs-subdir-external-provisioner.serviceAccountName" . }} | ||||||
|  |       securityContext: | ||||||
|  |         {{- toYaml .Values.podSecurityContext | nindent 8 }} | ||||||
|       {{- if .Values.nodeSelector }} |       {{- if .Values.nodeSelector }} | ||||||
|       nodeSelector: |       nodeSelector: | ||||||
| {{ toYaml .Values.nodeSelector | indent 8 }} | {{ toYaml .Values.nodeSelector | indent 8 }} | ||||||
|  | @ -43,6 +45,8 @@ spec: | ||||||
|         - name: {{ .Chart.Name }} |         - name: {{ .Chart.Name }} | ||||||
|           image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" |           image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" | ||||||
|           imagePullPolicy: {{ .Values.image.pullPolicy }} |           imagePullPolicy: {{ .Values.image.pullPolicy }} | ||||||
|  |           securityContext: | ||||||
|  |             {{- toYaml .Values.securityContext | nindent 12 }} | ||||||
|           volumeMounts: |           volumeMounts: | ||||||
|             - name: {{ .Values.nfs.volumeName }} |             - name: {{ .Values.nfs.volumeName }} | ||||||
|               mountPath: /persistentvolumes |               mountPath: /persistentvolumes | ||||||
|  |  | ||||||
|  | @ -74,6 +74,10 @@ podAnnotations: {} | ||||||
| ## Set pod priorityClassName | ## Set pod priorityClassName | ||||||
| # priorityClassName: "" | # priorityClassName: "" | ||||||
| 
 | 
 | ||||||
|  | podSecurityContext: {} | ||||||
|  | 
 | ||||||
|  | securityContext: {} | ||||||
|  | 
 | ||||||
| serviceAccount: | serviceAccount: | ||||||
|   # Specifies whether a ServiceAccount should be created |   # Specifies whether a ServiceAccount should be created | ||||||
|   create: true |   create: true | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue