We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 757308c commit 53c2376Copy full SHA for 53c2376
charts/open-notificaties/templates/configmap.yaml
@@ -24,7 +24,8 @@ data:
24
{{- end }}
25
IS_HTTPS: {{ if .Values.settings.isHttps }}"True"{{ else }}"False"{{ end }}
26
RABBITMQ_HOST: {{ .Values.settings.messageBroker.host }}
27
- {{- if not eq .Values.settings.autoRetry.maxRetries nil }}
+ {{- /* The if statement below is equivalent to {{- if $value }} but will also return true for 0. */ -}}
28
+ {{- if not (has (quote .Values.settings.autoRetry.maxRetries) (list "" (quote ""))) }}
29
NOTIFICATION_DELIVERY_MAX_RETRIES: {{ .Values.settings.autoRetry.maxRetries | toString | quote }}
30
31
{{- if .Values.settings.autoRetry.backoff }}
0 commit comments