fix: maildev cron securitycontext
This commit is contained in:
parent
f6b2415c70
commit
0ea3b46566
1 changed files with 6 additions and 0 deletions
|
@ -36,10 +36,16 @@ spec:
|
|||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: {{ .Values.persistence.mountPath }}
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
- name: reload-mail
|
||||
image: "{{ .Values.cron.image.repository }}:{{ .Values.cron.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.cron.image.pullPolicy }}
|
||||
args: ["wget","{{ include "common.names.fullname" . }}:1080/reloadMailsFromDirectory"]
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Add table
Reference in a new issue