summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorjkaurredhat <jkaur@redhat.com>2017-07-07 17:25:35 +0530
committerjkaurredhat <jkaur@redhat.com>2017-07-07 17:25:35 +0530
commite90f176b25882e27b928cf5ae53a1f33cdeb2373 (patch)
treecf0d3c7a7348a3090aa36198e92266d6a80d7088 /playbooks
parent12654fbe2ff56e7ba9eab61554f86a4164052a18 (diff)
downloadopenshift-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.yml2
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 != ''