Merge branch 'melanger-master-patch-69344' into 'master'
fix: add security context to pre-install-job See merge request burke-software/django-helm-chart!16
This commit is contained in:
commit
8358d4a9f6
|
@ -22,8 +22,12 @@ spec:
|
|||
{{- end }}
|
||||
serviceAccountName: {{ include "django.serviceAccountName" . }}
|
||||
restartPolicy: Never
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: pre-install-job
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: ["./manage.py","migrate"]
|
||||
|
|
Loading…
Reference in a new issue