EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 220e9599 authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Fixing issue when defaultBackends is empty

parent 17d65a76
No related branches found
Tags release-3.2.4
No related merge requests found
......@@ -53,7 +53,9 @@ routes:
{{- $prod_type_val := unset $prod_type_val "defaultBrowse" }}
-{{- toYaml $prod_type_val | nindent 14 -}}
{{- end -}}
{{- toYaml .Values.config.defaultBackends | nindent 8 }}
{{- if .Values.config.defaultBackends }}
{{- toYaml .Values.config.defaultBackends | nindent 8 }}
{{- end }}
{{- if .Values.config.defaultHandlers }}
handlers:
{{- toYaml .Values.config.defaultHandlers | nindent 8 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment