summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-10 14:07:56 -0500
committerGitHub <noreply@github.com>2016-11-10 14:07:56 -0500
commit7dee03d952cf048193de3c76e36520cde0a248e1 (patch)
treecb560231aee93a6078a53f3caf7b1bfeda726062 /playbooks/common/openshift-cluster/upgrades
parentc48e1eebc9858b4b10e836617821436d5c60bc57 (diff)
parentea688ac1565148ae5053dc34fe119a34f5169ea6 (diff)
downloadopenshift-7dee03d952cf048193de3c76e36520cde0a248e1.tar.gz
openshift-7dee03d952cf048193de3c76e36520cde0a248e1.tar.bz2
openshift-7dee03d952cf048193de3c76e36520cde0a248e1.tar.xz
openshift-7dee03d952cf048193de3c76e36520cde0a248e1.zip
Merge pull request #2777 from dgoodwin/jenkins-role-bindings
Reconcile role bindings for jenkins pipeline during upgrade.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index 98c258059..764563d28 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