From e90f176b25882e27b928cf5ae53a1f33cdeb2373 Mon Sep 17 00:00:00 2001 From: jkaurredhat Date: Fri, 7 Jul 2017 17:25:35 +0530 Subject: Error upgrading control_plane when user is not system:admin Signed-off-byr jkaurredhat --- playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != '' -- cgit v1.2.3