summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-06 13:41:05 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-11-06 13:41:05 -0500
commit8a665c2f3fae20116f0b21bcb7ba644d23ec0376 (patch)
tree29f90ab5ae993facf0afb5e63fdefb0b5f18f8f0 /playbooks/adhoc
parent050209f3c86a9dccefdf8b9f05898d1503254a2c (diff)
downloadopenshift-8a665c2f3fae20116f0b21bcb7ba644d23ec0376.tar.gz
openshift-8a665c2f3fae20116f0b21bcb7ba644d23ec0376.tar.bz2
openshift-8a665c2f3fae20116f0b21bcb7ba644d23ec0376.tar.xz
openshift-8a665c2f3fae20116f0b21bcb7ba644d23ec0376.zip
Fix removal of kubernetesMasterConfig.apiLevels
Diffstat (limited to 'playbooks/adhoc')
-rwxr-xr-xplaybooks/adhoc/upgrades/library/openshift_upgrade_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/adhoc/upgrades/library/openshift_upgrade_config.py b/playbooks/adhoc/upgrades/library/openshift_upgrade_config.py
index f9ee5b254..a6721bb92 100755
--- a/playbooks/adhoc/upgrades/library/openshift_upgrade_config.py
+++ b/playbooks/adhoc/upgrades/library/openshift_upgrade_config.py
@@ -75,7 +75,7 @@ def upgrade_master_3_0_to_3_1(ansible_module, config_base, backup):
changes.append(result['changes'])
if 'kubernetesMasterConfig' in config and 'apiLevels' in config['kubernetesMasterConfig']:
- config['kubernetesMasterConfig'].remove('apiLevels')
+ config['kubernetesMasterConfig'].pop('apiLevels')
changes.append('master-config.yaml: removed kubernetesMasterConfig.apiLevels')
# Add proxyClientInfo to master-config