summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
diff options
context:
space:
mode:
authorSamuel Padgett <spadgett@redhat.com>2018-01-22 16:24:02 -0500
committerSamuel Padgett <spadgett@redhat.com>2018-01-25 14:56:10 -0500
commitef6d01b6c0a4000133ab443a0a3d52d686484fc9 (patch)
treea2c536b10f50bd7850119b9b58297d0d5d1a8a3b /playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
parent8cb61e9428e82e38070c1de0d6ab1fff45a7ff13 (diff)
downloadopenshift-ef6d01b6c0a4000133ab443a0a3d52d686484fc9.tar.gz
openshift-ef6d01b6c0a4000133ab443a0a3d52d686484fc9.tar.bz2
openshift-ef6d01b6c0a4000133ab443a0a3d52d686484fc9.tar.xz
openshift-ef6d01b6c0a4000133ab443a0a3d52d686484fc9.zip
Remove old assetConfig from master-config.yaml
The `assetConfig` is no longer used now that the console is split into its own pod. - Remove `assetConfig` on upgrades to 3.9 - Stop writing logging and metrics URLs to assetConfig for 3.9
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/post_control_plane.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/post_control_plane.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
index f790fd98d..de612da21 100644
--- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
@@ -6,7 +6,9 @@
hosts: oo_first_master
roles:
- role: openshift_web_console
- when: openshift_web_console_install | default(true) | bool
+ when:
+ - openshift_web_console_install | default(true) | bool
+ - openshift_upgrade_target is version_compare('3.9','>=')
- name: Upgrade default router and default registry
hosts: oo_first_master