summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2018-02-06 08:44:08 -0500
committerGitHub <noreply@github.com>2018-02-06 08:44:08 -0500
commitf048e7dec959cd3a0d10d007d1afaa62864172e0 (patch)
tree76868265d16d70bbb7da1d6b5e68c9d62759e175
parent4cb057694f0b07facb0f0ae53db9a62ddb5d094a (diff)
parentaf858e077e62e8e85f00f9f966ea45f0baef04a1 (diff)
downloadopenshift-f048e7dec959cd3a0d10d007d1afaa62864172e0.tar.gz
openshift-f048e7dec959cd3a0d10d007d1afaa62864172e0.tar.bz2
openshift-f048e7dec959cd3a0d10d007d1afaa62864172e0.tar.xz
openshift-f048e7dec959cd3a0d10d007d1afaa62864172e0.zip
Merge pull request #7005 from mtnbikenc/fix-rollout
Use rollout instead of deploy (deprecated)
-rw-r--r--playbooks/openshift-hosted/private/redeploy-registry-certificates.yml3
-rw-r--r--playbooks/openshift-hosted/private/redeploy-router-certificates.yml3
2 files changed, 2 insertions, 4 deletions
diff --git a/playbooks/openshift-hosted/private/redeploy-registry-certificates.yml b/playbooks/openshift-hosted/private/redeploy-registry-certificates.yml
index b817221b8..d88209593 100644
--- a/playbooks/openshift-hosted/private/redeploy-registry-certificates.yml
+++ b/playbooks/openshift-hosted/private/redeploy-registry-certificates.yml
@@ -88,8 +88,7 @@
- name: Redeploy docker registry
command: >
- {{ openshift_client_binary }} deploy dc/docker-registry
- --latest
+ {{ openshift_client_binary }} rollout latest dc/docker-registry
--config={{ mktemp.stdout }}/admin.kubeconfig
-n default
diff --git a/playbooks/openshift-hosted/private/redeploy-router-certificates.yml b/playbooks/openshift-hosted/private/redeploy-router-certificates.yml
index 0df748f47..952a5f4ee 100644
--- a/playbooks/openshift-hosted/private/redeploy-router-certificates.yml
+++ b/playbooks/openshift-hosted/private/redeploy-router-certificates.yml
@@ -129,8 +129,7 @@
- name: Redeploy router
command: >
- {{ openshift_client_binary }} deploy dc/router
- --latest
+ {{ openshift_client_binary }} rollout latest dc/router
--config={{ router_cert_redeploy_tempdir.stdout }}/admin.kubeconfig
-n default