mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-17 21:25:43 +02:00
🐛(helm) fix nil pointer error with envFrom in the backened_conjob_list
In the backend_cronjob_list.yaml template the usage `.Values` instead of `$.Values` was causing a nil pointer error
This commit is contained in:
@@ -14,7 +14,7 @@ items:
|
||||
labels:
|
||||
{{- include "impress.common.labels" (list $ $component) | nindent 8 }}
|
||||
spec:
|
||||
schedule: {{ .schedule }}
|
||||
schedule: {{ .schedule | quote }}
|
||||
concurrencyPolicy: {{ .concurrencyPolicy | default "Forbid" }}
|
||||
successfulJobsHistoryLimit: {{ .successfulJobsHistoryLimit | default 3 }}
|
||||
failedJobsHistoryLimit: {{ .failedJobsHistoryLimit | default 1 }}
|
||||
@@ -42,9 +42,9 @@ items:
|
||||
env:
|
||||
{{- $envVars | indent 22 }}
|
||||
{{- end }}
|
||||
{{- if .Values.backend.envFrom }}
|
||||
{{- if $.Values.backend.envFrom }}
|
||||
envFrom:
|
||||
{{- toYaml .Values.backend.envFrom | nindent 22 }}
|
||||
{{- toYaml $.Values.backend.envFrom | nindent 22 }}
|
||||
{{- end }}
|
||||
{{- with $.Values.backend.securityContext }}
|
||||
securityContext:
|
||||
|
||||
Reference in New Issue
Block a user