summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-01 13:24:41 -0700
committerGitHub <noreply@github.com>2017-11-01 13:24:41 -0700
commitcb27e144520c4cd108189aaf38d95deaa8a6fa6c (patch)
treea5821145dd0077aead3ccc5e5215a847142ba620 /roles/openshift_master
parent5bfc68706be9127199a3f3f06e04588720ed50f5 (diff)
parent9091f508da1d4bc99d7f2abdf3ce09996f1e011e (diff)
downloadopenshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.tar.gz
openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.tar.bz2
openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.tar.xz
openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.zip
Merge pull request #5971 from smarterclayton/retry_create
Automatic merge from submit-queue. Retry service account bootstrap kubeconfig creation Pulled back from the larger refactor so this job can be enabled. @kwoodson back porting so I can turn the job on
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/bootstrap.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/bootstrap.yml b/roles/openshift_master/tasks/bootstrap.yml
index 1c30c1dea..f837a8bae 100644
--- a/roles/openshift_master/tasks/bootstrap.yml
+++ b/roles/openshift_master/tasks/bootstrap.yml
@@ -4,6 +4,9 @@
- name: create service account kubeconfig with csr rights
command: "oc serviceaccounts create-kubeconfig node-bootstrapper -n openshift-infra"
register: kubeconfig_out
+ until: kubeconfig_out.rc == 0
+ retries: 24
+ delay: 5
- name: put service account kubeconfig into a file on disk for bootstrap
copy: