summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-hosted
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2018-02-02 15:49:16 -0500
committerRussell Teague <rteague@redhat.com>2018-02-02 15:49:16 -0500
commitaf858e077e62e8e85f00f9f966ea45f0baef04a1 (patch)
tree1cc82a63301b3701b892fa07d04e186ba9c14b73 /playbooks/openshift-hosted
parent3e2c7c22a54a3ccf88b49742003a3a4a937683f8 (diff)
downloadopenshift-af858e077e62e8e85f00f9f966ea45f0baef04a1.tar.gz
openshift-af858e077e62e8e85f00f9f966ea45f0baef04a1.tar.bz2
openshift-af858e077e62e8e85f00f9f966ea45f0baef04a1.tar.xz
openshift-af858e077e62e8e85f00f9f966ea45f0baef04a1.zip
Use rollout instead of deploy (deprecated)
Diffstat (limited to 'playbooks/openshift-hosted')
-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