Skip to content

Commit

Permalink
Add securityContext to initContainer, bump to 0.2.2
Browse files Browse the repository at this point in the history
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
  • Loading branch information
funkypenguin committed Apr 20, 2020
1 parent 964bb07 commit d52b3b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/docker-mailserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "6.3.0"
description: A fullstack but simple mailserver (smtp, imap, antispam, antivirus, ssl...) using Docker.
name: docker-mailserver
version: 0.2.2-dev5
version: 0.2.2
sources:
- https://github.com/funkypenguin/docker-mailserver
maintainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/docker-mailserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
image: {{ .Values.initContainer.image.name }}:{{ .Values.initContainer.image.tag }}
imagePullPolicy: {{ .Values.initContainer.image.pullPolicy }}
command: [ 'sh','-c', 'cp /tmp/configmaps/* /tmp/docker-mailserver -rfpvL' ]
securityContext:
{{ toYaml .Values.pod.dockermailserver.securityContext | indent 12 }}
volumeMounts:
- name: configmap
mountPath: /tmp/configmaps
Expand Down

0 comments on commit d52b3b2

Please sign in to comment.