diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-10-18 09:39:21 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-10-19 10:00:30 -0300 |
commit | 3ea0166aa301990d4f95fdb1c48557e710aa0b05 (patch) | |
tree | 233baede8c077ce2d7225328121ce6155af31cb7 /roles/openshift_metrics | |
parent | 9fa3c6c98420e4e340507193fd3ad80c15e5c19e (diff) | |
download | openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.tar.gz openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.tar.bz2 openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.tar.xz openshift-3ea0166aa301990d4f95fdb1c48557e710aa0b05.zip |
Switch from "oadm" to "oc adm" and fix bug in binary sync.
Found bug syncing binaries to containerized hosts where if a symlink was
pre-existing, but pointing to the wrong destination, it would not be
corrected.
Switched to using oc adm instead of oadm.
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r-- | roles/openshift_metrics/tasks/install.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_metrics/tasks/install.yml b/roles/openshift_metrics/tasks/install.yml index 9c4eb22d7..4dabd314f 100644 --- a/roles/openshift_metrics/tasks/install.yml +++ b/roles/openshift_metrics/tasks/install.yml @@ -30,7 +30,7 @@ - name: Add edit permission to the openshift-infra project to metrics-deployer SA command: > - {{ openshift.common.admin_binary }} + {{ openshift.common.client_binary }} adm --config={{ openshift_metrics_kubeconfig }} --namespace openshift-infra policy add-role-to-user edit @@ -48,7 +48,7 @@ - name: Add cluster-reader permission to the openshift-infra project to heapster SA command: > - {{ openshift.common.admin_binary }} + {{ openshift.common.client_binary }} adm --config={{ openshift_metrics_kubeconfig }} --namespace openshift-infra policy add-cluster-role-to-user cluster-reader |