Skip to content

Commit 55cc28d

Browse files
authored
use variable for hosted zone instead of calculating ourselves
1 parent d768b75 commit 55cc28d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cluster/manifests/deployment-service/01-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ data:
3232
skip-mustache: "{{.Cluster.ConfigItems.deployment_service_skip_mustache_rendering}}"
3333
cleanup-namespace-prefix: "d-"
3434
{{- if eq .Cluster.Provider "zalando-eks" }}
35-
pgview-url: "https://pgview-{{.Cluster.Alias}}.{{.Cluster.AccountName}}.zalan.do"
36-
pgui-url: "https://pgui-{{.Cluster.Alias}}.{{.Cluster.AccountName}}.zalan.do"
35+
pgview-url: "https://pgview-{{.Cluster.Alias}}.{{.Values.hosted_zone}}"
36+
pgui-url: "https://pgui-{{.Cluster.Alias}}.{{.Values.hosted_zone}}"
3737
{{- else }}
38-
pgview-url: "https://pgview.{{.Cluster.AccountName}}.zalan.do"
39-
pgui-url: "https://pgui.{{.Cluster.AccountName}}.zalan.do"
38+
pgview-url: "https://pgview.{{.Values.hosted_zone}}"
39+
pgui-url: "https://pgui.{{.Values.hosted_zone}}"
4040
{{- end }}

0 commit comments

Comments
 (0)