File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4343 priorityClassName : {{ .Values.deployment.priorityClassName }}
4444 restartPolicy : " Always"
4545 serviceAccountName : {{ template "dockermailserver.serviceAccountName" . }}
46+ {{- if .Values.deployment.securityContext }}
4647 securityContext :
47- {{ toYaml .Values.securityContext | indent 8 }}
48+ {{ toYaml .Values.deployment.securityContext | indent 8 }}
49+ {{- end }}
4850 {{- if .Values.deployment.tolerations }}
4951 tolerations : {{- toYaml .Values.deployment.tolerations | nindent 8 }}
5052 {{ end }}
Original file line number Diff line number Diff line change @@ -221,9 +221,7 @@ deployment:
221221 RELAY_USER :
222222 RELAY_PASSWORD :
223223
224- securityContext :
225- runAsUser : 5000
226- runAsGroup : 5000
224+ securityContext : {}
227225
228226 containerSecurityContext :
229227 readOnlyRootFilesystem : false # incompatible with the way docker-mailserver works
You can’t perform that action at this time.
0 commit comments