diff options
author | jkaurredhat <jkaur@redhat.com> | 2017-07-07 17:25:35 +0530 |
---|---|---|
committer | jkaurredhat <jkaur@redhat.com> | 2017-07-07 17:25:35 +0530 |
commit | e90f176b25882e27b928cf5ae53a1f33cdeb2373 (patch) | |
tree | cf0d3c7a7348a3090aa36198e92266d6a80d7088 /playbooks | |
parent | 12654fbe2ff56e7ba9eab61554f86a4164052a18 (diff) | |
download | openshift-e90f176b25882e27b928cf5ae53a1f33cdeb2373.tar.gz openshift-e90f176b25882e27b928cf5ae53a1f33cdeb2373.tar.bz2 openshift-e90f176b25882e27b928cf5ae53a1f33cdeb2373.tar.xz openshift-e90f176b25882e27b928cf5ae53a1f33cdeb2373.zip |
Error upgrading control_plane when user is not system:admin
Signed-off-byr jkaurredhat <jkaur@redhat.com>
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml index 227fbf60a..86f2cfa54 100644 --- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml +++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml @@ -223,7 +223,7 @@ - name: Reconcile Security Context Constraints command: > - {{ openshift.common.client_binary }} adm policy reconcile-sccs --confirm --additive-only=true -o name + {{ openshift.common.client_binary }} adm policy --config={{ openshift.common.config_base }}/master/admin.kubeconfig reconcile-sccs --confirm --additive-only=true -o name register: reconcile_scc_result changed_when: - reconcile_scc_result.stdout != '' |