File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ clusters:
16
16
apiserver_business_partner_ids: ${APISERVER_BUSINESS_PARTNER_IDS}
17
17
etcd_s3_backup_bucket: zalando-kubernetes-etcd-${AWS_ACCOUNT} -${REGION}
18
18
etcd_endpoints: "${ETCD_ENDPOINTS} "
19
+ etcd_additional_endpoints: "https://etcd-server.eu-central-1.teapot-e2e.zalan.do:2479"
19
20
etcd_client_ca_cert: "${ETCD_CLIENT_CA_CERT} "
20
21
etcd_client_ca_key: "${ETCD_CLIENT_CA_KEY} "
21
22
etcd_scalyr_key: "${ETCD_SCALYR_KEY} "
22
- etcd_dns_record_prefixes: "etcd-server.etcd"
23
+ etcd_dns_record_prefixes: "etcd-server.etcd,etcd-server.eu-central-1 "
23
24
docker_meta_url: https://docker-meta.stups-test.zalan.do
24
25
vpa_enabled: "true"
25
26
lightstep_token: "${LIGHTSTEP_TOKEN} "
Original file line number Diff line number Diff line change @@ -102,9 +102,15 @@ if [ "$create_cluster" = true ]; then
102
102
" ./cluster_config.sh" " ${CDP_TARGET_COMMIT_ID} " " requested" > base_cluster.yaml
103
103
fi
104
104
105
+ echo " cat base_cluster..."
106
+ cat base_cluster.yaml
107
+
105
108
# generate the cluster certificates
106
109
aws-account-creator refresh-certificates --registry-file base_cluster.yaml --create-ca
107
110
111
+ echo " cat base_cluster 2..."
112
+ cat base_cluster.yaml
113
+
108
114
# Create cluster
109
115
clm provision \
110
116
--token=" ${CLUSTER_ADMIN_TOKEN} " \
@@ -125,11 +131,16 @@ if [ "$create_cluster" = true ]; then
125
131
" ./cluster_config.sh" " ${CDP_HEAD_COMMIT_ID} " " ready" > head_cluster.yaml
126
132
127
133
# either copy the certificates from the already created cluster or regenerate them from scratch
128
- if [ -f base_cluster.yaml ]; then
129
- ./copy-certificates.py base_cluster.yaml head_cluster.yaml
130
- else
131
- aws-account-creator refresh-certificates --registry-file head_cluster.yaml --create-ca
132
- fi
134
+ # if [ -f base_cluster.yaml ]; then
135
+ # echo "copy certs"
136
+ # ./copy-certificates.py base_cluster.yaml head_cluster.yaml
137
+ # else
138
+ echo " refresh certs"
139
+ aws-account-creator refresh-certificates --registry-file head_cluster.yaml --create-ca
140
+ # fi
141
+
142
+ echo " cat head_cluster..."
143
+ cat head_cluster.yaml
133
144
134
145
# Update cluster
135
146
echo " Updating cluster ${CLUSTER_ID} : ${API_SERVER_URL} "
You can’t perform that action at this time.
0 commit comments