Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit b60ada7

Browse files
authored
Merge pull request #245 from HotelsDotCom/install-kube-system-fixups
BUGFIX for a typo in install-kube-system scripts
2 parents 3c0a8f3 + 59638ea commit b60ada7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/templates/cloud-config-controller

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ coreos:
196196
Restart=on-failure
197197
ExecStartPre=/usr/bin/systemctl is-active kubelet.service
198198
ExecStartPre=/usr/bin/systemctl is-active docker.service
199-
ExecStartPre=/usr/bin/curl http://127.0.0.1:8080/version
199+
ExecStartPre=/usr/bin/curl -s -f http://127.0.0.1:8080/version
200200
ExecStart=/opt/bin/install-kube-system
201201

202202
{{ if .UseCalico }}
@@ -214,7 +214,7 @@ coreos:
214214
Restart=on-failure
215215
ExecStartPre=/usr/bin/systemctl is-active kubelet.service
216216
ExecStartPre=/usr/bin/systemctl is-active docker.service
217-
ExecStartPre=/usr/bin/curl http://127.0.0.1:8080/version
217+
ExecStartPre=/usr/bin/curl -s -f http://127.0.0.1:8080/version
218218
ExecStart=/opt/bin/install-calico-system
219219
{{ end }}
220220
{{ if $.ElasticFileSystemID }}
@@ -374,7 +374,7 @@ write_files:
374374
}
375375

376376
mfdir=/srv/kubernetes/manifests
377-
for manifest in $mfdir/{kube-dns-de,kube-dns-autoscaler-de,heapster-de}.yaml;do
377+
for manifest in {kube-dns-de,kube-dns-autoscaler-de,heapster-de}.yaml; do
378378
post_yaml "@$mfdir/$manifest" \
379379
"http://127.0.0.1:8080/apis/extensions/v1beta1/namespaces/kube-system/deployments"
380380
done

0 commit comments

Comments
 (0)