diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-06-27 21:20:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 21:20:37 -0400 |
commit | 5351845b37e18f6253dc97e454a429597793e19f (patch) | |
tree | a7abea34ad28b60e3a455dc3f198a39c9d0298e0 /roles/openshift_hosted/tasks/registry | |
parent | 77d8b348f09fe078e425b76079cc716520198b21 (diff) | |
parent | 50cb68ca2892aa04d741e019d69e4c8bc1556951 (diff) | |
download | openshift-5351845b37e18f6253dc97e454a429597793e19f.tar.gz openshift-5351845b37e18f6253dc97e454a429597793e19f.tar.bz2 openshift-5351845b37e18f6253dc97e454a429597793e19f.tar.xz openshift-5351845b37e18f6253dc97e454a429597793e19f.zip |
Merge pull request #4588 from giuseppe/router-look-for-oc
router/registry: look for the oc executable in /usr/local/bin and ~/bin
Diffstat (limited to 'roles/openshift_hosted/tasks/registry')
-rw-r--r-- | roles/openshift_hosted/tasks/registry/registry.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_hosted/tasks/registry/registry.yml b/roles/openshift_hosted/tasks/registry/registry.yml index d895e9a68..2eeb2e7ce 100644 --- a/roles/openshift_hosted/tasks/registry/registry.yml +++ b/roles/openshift_hosted/tasks/registry/registry.yml @@ -135,7 +135,7 @@ - name: Determine the latest version of the OpenShift registry deployment command: | - oc get deploymentconfig {{ openshift_hosted_registry_name }} \ + {{ openshift.common.client_binary }} get deploymentconfig {{ openshift_hosted_registry_name }} \ --namespace {{ openshift_hosted_registry_namespace }} \ --config {{ openshift.common.config_base }}/master/admin.kubeconfig \ -o jsonpath='{ .status.latestVersion }' @@ -143,7 +143,7 @@ - name: Sanity-check that the OpenShift registry rolled out correctly command: | - oc get replicationcontroller {{ openshift_hosted_registry_name }}-{{ openshift_hosted_registry_latest_version.stdout }} \ + {{ openshift.common.client_binary }} get replicationcontroller {{ openshift_hosted_registry_name }}-{{ openshift_hosted_registry_latest_version.stdout }} \ --namespace {{ openshift_hosted_registry_namespace }} \ --config {{ openshift.common.config_base }}/master/admin.kubeconfig \ -o jsonpath='{ .metadata.annotations.openshift\.io/deployment\.phase }' |