summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_6
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-10-16 15:01:41 -0400
committerScott Dodson <sdodson@redhat.com>2017-10-17 13:30:35 -0400
commitc124eb746e92d6a2682705e84a95ed5b982bc162 (patch)
treebad9cdc6b216cce78f106a5cc180c088cbcb6e29 /playbooks/common/openshift-cluster/upgrades/v3_6
parent940b829df1c1adfbea80237f60dc196d5a5d2856 (diff)
downloadopenshift-c124eb746e92d6a2682705e84a95ed5b982bc162.tar.gz
openshift-c124eb746e92d6a2682705e84a95ed5b982bc162.tar.bz2
openshift-c124eb746e92d6a2682705e84a95ed5b982bc162.tar.xz
openshift-c124eb746e92d6a2682705e84a95ed5b982bc162.zip
Remove unneeded master config updates during upgrades
Currently, upgrade_control_plane.yml will add any missing sections to the openshift master's config. These additions are only needed once. Users who perform multiple upgrades to their clusters over time do not need to have these variables re-inserted. Currently, re-inserting these variables can cause unwanted local changes. This commit ensures that the variables are only inserted into openshift master's config once. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_6')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_6/master_config_upgrade.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_6/master_config_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_6/master_config_upgrade.yml
index 763922439..52458e03c 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_6/master_config_upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_6/master_config_upgrade.yml
@@ -1,22 +1,6 @@
---
- modify_yaml:
dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
- yaml_key: 'admissionConfig.pluginConfig'
- yaml_value: "{{ openshift.master.admission_plugin_config }}"
- when: "'admission_plugin_config' in openshift.master"
-
-- modify_yaml:
- dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
- yaml_key: 'admissionConfig.pluginOrderOverride'
- yaml_value:
-
-- modify_yaml:
- dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
- yaml_key: 'kubernetesMasterConfig.admissionConfig'
- yaml_value:
-
-- modify_yaml:
- dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
yaml_key: 'controllerConfig.serviceServingCert.signer.certFile'
yaml_value: service-signer.crt