mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
stable/nfs-server-provisioner Add ability to specify pod Security Context settings (#22642)
* Add ability to specify Security Context settings for NFS Server Provisioner. Signed-off-by: Zoram Thanga <zoram@cloudera.com> * Changed version number, and changed Helm value to podSecurityContext to avoid confusion with container level Security Context. Signed-off-by: Zoram Thanga <zoram@cloudera.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 2.3.0
|
||||
description: nfs-server-provisioner is an out-of-tree dynamic provisioner for Kubernetes. You can use it to quickly & easily deploy shared storage that works almost anywhere.
|
||||
name: nfs-server-provisioner
|
||||
version: 1.0.0
|
||||
version: 1.1.0
|
||||
maintainers:
|
||||
- name: kiall
|
||||
email: kiall@macinnes.ie
|
||||
|
||||
@@ -82,6 +82,7 @@ their default values.
|
||||
| `nodeSelector` | Map of node labels for pod assignment | `{}` |
|
||||
| `tolerations` | List of node taints to tolerate | `[]` |
|
||||
| `affinity` | Map of node/pod affinities | `{}` |
|
||||
| `podSecurityContext` | Security context settings for nfs-server-provisioner pod (see https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) | `{}` |
|
||||
|
||||
```console
|
||||
$ helm install stable/nfs-server-provisioner --name my-release \
|
||||
|
||||
@@ -99,6 +99,10 @@ spec:
|
||||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user