Skip to content

Commit ad422f4

Browse files
authored
Merge pull request #9456 from zalando-incubator/cluster-provider
Add the cluster's provider to deployment-config
2 parents 2f507fb + b2c05e0 commit ad422f4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ data:
77
aws-account-id: "{{accountID .Cluster.InfrastructureAccount}}"
88
aws-account-name: "{{.Cluster.AccountName}}"
99
cluster-alias: "{{.Cluster.Alias}}"
10+
cluster-provider: "{{.Cluster.Provider}}"
1011
cluster-vpc-id: "{{.Cluster.ConfigItems.vpc_id}}"
1112
scalyr-team-token: "{{.Cluster.ConfigItems.scalyr_team_token}}"
1213
create-namespaces: "true"
@@ -34,10 +35,3 @@ data:
3435
cloudformation-update-source-branch-changes: "{{.Cluster.ConfigItems.deployment_service_cf_update_source_branch_changes}}"
3536
skip-mustache: "{{.Cluster.ConfigItems.deployment_service_skip_mustache_rendering}}"
3637
cleanup-namespace-prefix: "d-"
37-
{{- if eq .Cluster.Provider "zalando-eks" }}
38-
pgview-url: "https://pgview-{{.Cluster.Alias}}.{{.Values.hosted_zone}}"
39-
pgui-url: "https://pgui-{{.Cluster.Alias}}.{{.Values.hosted_zone}}"
40-
{{- else }}
41-
pgview-url: "https://pgview.{{.Values.hosted_zone}}"
42-
pgui-url: "https://pgui.{{.Values.hosted_zone}}"
43-
{{- end }}

0 commit comments

Comments
 (0)