We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa075bd commit 0fa9aa0Copy full SHA for 0fa9aa0
1 file changed
charts/service-gateway/templates/gateway-tls/certificate.yaml
@@ -31,10 +31,9 @@ spec:
31
{{- if eq .Values.infra.hostType "domain" }}
32
dnsNames:
33
- {{ include "gateway.domain" . }}
34
- {{- $platformHost := dig "platform" "host" "" (.Values.global | default dict) }}
35
- {{- if and (eq (dig "mode" "" (.Values.gatewayClass.annotations | default dict)) "hosted") (eq $platformHost "appscode.com") }}
36
- - "nats.{{ $platformHost }}"
37
- - "api.{{ $platformHost }}"
+ {{- if and (eq (dig "mode" "" (.Values.gatewayClass.annotations | default dict)) "hosted") (eq .Values.infra.host "appscode.com") }}
+ - "nats.{{ .Values.infra.host }}"
+ - "api.{{ .Values.infra.host }}"
38
- "api.byte.builders"
39
{{- end }}
40
commonName: {{ include "gateway.domain" . }}
0 commit comments