We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e573431 commit cce1e50Copy full SHA for cce1e50
1 file changed
charts/gitops-runtime/templates/httproute.yaml
@@ -21,7 +21,12 @@ spec:
21
{{- else }}
22
{{- fail "ERROR: global.runtime.httpRoute.parentRefs is required when httpRoute is enabled" }}
23
{{- end }}
24
- hostnames: {{- toYaml .Values.global.runtime.httpRoute.hostnames | nindent 4 }}
+ hostnames:
25
+ {{ - if .Values.global.runtime.httpRoute.hostnames }}
26
+ {{- toYaml .Values.global.runtime.httpRoute.hostnames | nindent 4 }}
27
+ {{- else }}
28
+ {{- fail "ERROR: global.runtime.httpRoute.hostnames is required when httpRoute is enabled" }}
29
+ {{- end }}
30
rules:
31
- matches:
32
- path:
0 commit comments