File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 48
48
path : {{ .hostPath }}
49
49
{{- end }}
50
50
{{- end }}
51
+ initContainers :
52
+ - name : wait-for-db
53
+ command :
54
+ - ' /bin/bash'
55
+ - ' -c'
56
+ - ' /wait-for-it.sh ${DD_DATABASE_HOST:-postgres}:${DD_DATABASE_PORT:-5432} -t 30 -s -- /bin/echo Database is up'
57
+ image : ' {{ template "django.uwsgi.repository" . }}:{{ .Values.tag }}'
58
+ imagePullPolicy : {{ .Values.imagePullPolicy }}
59
+ {{- if .Values.securityContext.enabled }}
60
+ securityContext :
61
+ {{- toYaml .Values.securityContext.djangoSecurityContext | nindent 10 }}
62
+ {{- end }}
63
+ envFrom :
64
+ - configMapRef :
65
+ name : {{ $fullName }}
66
+ - secretRef :
67
+ name : {{ $fullName }}
68
+ optional : true
51
69
containers :
52
70
{{- if .Values.cloudsql.enabled }}
53
71
- name : cloudsql-proxy
Original file line number Diff line number Diff line change @@ -298,9 +298,7 @@ django:
298
298
299
299
initializer :
300
300
run : true
301
- jobAnnotations : {
302
- helm.sh/hook : " post-install,post-upgrade"
303
- }
301
+ jobAnnotations : {}
304
302
annotations : {}
305
303
labels : {}
306
304
keepSeconds : 60
You can’t perform that action at this time.
0 commit comments