diff --git a/charts/gxf/templates/deployment.yaml b/charts/gxf/templates/deployment.yaml index dd42ba5..8b499f1 100644 --- a/charts/gxf/templates/deployment.yaml +++ b/charts/gxf/templates/deployment.yaml @@ -46,6 +46,9 @@ spec: {{- if .Values.initContainers }} initContainers: {{- toYaml .Values.initContainers | nindent 8 }} {{- end }} + {{- if .Values.securityContext }} + securityContext: {{- toYaml .Values.securityContext | nindent 8 }} + {{- end }} containers: - name: {{ .Release.Name }} image: {{ .Values.imageRepo }}{{ .Values.image }}:{{ .Values.imageTag }}