mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
deploy: configurable podSecurityContexts in ceph-csi-cephfs
pod-level security contexts for nodeplugin daemonset and provisioner deployment can be set via helm values.yaml Signed-off-by: 1602077 <62025739+1602077@users.noreply.github.com>
This commit is contained in:
@ -28,6 +28,7 @@ spec:
|
||||
heritage: {{ .Release.Service }}
|
||||
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 8 }}{{- end }}
|
||||
spec:
|
||||
securityContext: {{ toYaml .Values.nodeplugin.podSecurityContext | nindent 8 }}
|
||||
serviceAccountName: {{ include "ceph-csi-cephfs.serviceAccountName.nodeplugin" . }}
|
||||
{{- if .Values.nodeplugin.priorityClassName }}
|
||||
priorityClassName: {{ .Values.nodeplugin.priorityClassName }}
|
||||
|
@ -57,6 +57,7 @@ spec:
|
||||
{{ toYaml .Values.provisioner.affinity | indent 8 -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
securityContext: {{ toYaml .Values.provisioner.podSecurityContext | nindent 8 }}
|
||||
serviceAccountName: {{ include "ceph-csi-cephfs.serviceAccountName.provisioner" . }}
|
||||
hostNetwork: {{ .Values.provisioner.enableHostNetwork }}
|
||||
{{- if .Values.provisioner.priorityClassName }}
|
||||
|
Reference in New Issue
Block a user