From ea688ac1565148ae5053dc34fe119a34f5169ea6 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Thu, 10 Nov 2016 08:17:30 -0400 Subject: Reconcile role bindings for jenkins pipeline during upgrade. https://github.com/openshift/origin/issues/11170 for more info. --- .../common/openshift-cluster/upgrades/upgrade_control_plane.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'playbooks/common') diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml index afbfe0106..7a96776b6 100644 --- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml +++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml @@ -228,6 +228,12 @@ when: origin_reconcile_bindings | bool or ent_reconcile_bindings | bool run_once: true + - name: Reconcile Jenkins Pipeline Role Bindings + command: > + {{ openshift.common.client_binary }} adm --config={{ openshift.common.config_base }}/master/admin.kubeconfig policy reconcile-cluster-role-bindings system:build-strategy-jenkinspipeline --confirm + run_once: true + when: openshift.common.version_gte_3_4_or_1_4 | bool + - name: Reconcile Security Context Constraints command: > {{ openshift.common.client_binary }} adm policy reconcile-sccs --confirm --additive-only=true -- cgit v1.2.3