File tree 1 file changed +4
-6
lines changed
helm/charts/hydra/templates
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 4
4
{{- $migrationExtraEnv := ternary $job.extraEnv $.Values.job.extraEnv (not (empty $job.extraEnv)) -}}
5
5
{{- $resources := ternary $job.resources $.Values.job.resources (not (empty $job.resources)) -}}
6
6
{{- $annotations := merge $.Values.job.annotations (default dict $job.annotations) -}}
7
- {{- $labels := merge $.Values.job.labels (default dict $job.labels) - }}
7
+ {{- $labels := merge $.Values.job.labels (default dict $job.labels) }}
8
8
9
9
---
10
10
apiVersion : batch/v1
@@ -72,10 +72,10 @@ spec:
72
72
{{- with $migrationExtraEnv }}
73
73
{{- toYaml . | nindent 10 }}
74
74
{{- end }}
75
+ {{- if $.Values.job.lifecycle }}
75
76
lifecycle :
76
- {{- if $.Values.job.lifecycle }}
77
- {{- tpl $.Values.job.lifecycle $ | nindent 10 }}
78
- {{- end }}
77
+ {{- tpl $.Values.job.lifecycle $ | nindent 10 }}
78
+ {{- end }}
79
79
{{- with $.Values.deployment.securityContext }}
80
80
securityContext :
81
81
{{- toYaml . | nindent 10 }}
90
90
readOnly : true
91
91
{{- if $job.extraVolumeMounts }}
92
92
{{- toYaml $job.extraVolumeMounts | nindent 12 }}
93
- {{- else if $.Values.deployment.extraVolumeMounts }}
94
- {{- toYaml $.Values.deployment.extraVolumeMounts | nindent 12 }}
95
93
{{- end }}
96
94
{{- if $.Values.job.extraContainers }}
97
95
{{- tpl $.Values.job.extraContainers $ | nindent 6 }}
You can’t perform that action at this time.
0 commit comments