Skip to content

Commit

Permalink
Merge pull request #331 from funkypenguin/add-securitycontext-to-init…
Browse files Browse the repository at this point in the history
…-container

Add securityContext to concourse-web initContainer
  • Loading branch information
Rui Yang authored Oct 31, 2023
2 parents d27fc91 + 8949053 commit 8a3d3e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ spec:
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
{{- end }}
args: ["migrate", "--migrate-to-latest-version"]
{{- if .Values.web.securityContext }}
securityContext:
{{- toYaml .Values.web.securityContext | nindent 12 }}
{{- end }}
env:
{{- include "concourse.postgresql.env" . | indent 12 }}
volumeMounts:
Expand Down

0 comments on commit 8a3d3e1

Please sign in to comment.