Skip to content

Commit

Permalink
openshift: update wait for kube-apiserver to correct namespace
Browse files Browse the repository at this point in the history
openshift.sh runs after bootkube and attemps to wait for the kube-apiserver to look healthy.
The wait is a little unusual in and of itself (you contacted the server, why wait), but
it should wait on the openshift-kube-apiserver namespace since that's the one that runs
the kube-apiserver.
  • Loading branch information
deads2k committed Apr 22, 2019
1 parent 4909208 commit 989839e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/data/bootstrap/files/usr/local/bin/openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ wait_for_pods() {
}

# Wait for Kubernetes pods
wait_for_pods kube-system
wait_for_pods openshift-kube-apiserver

for file in $(find . -maxdepth 1 -type f | sort)
do
Expand Down

0 comments on commit 989839e

Please sign in to comment.