summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-18 16:30:23 -0400
committerScott Dodson <sdodson@redhat.com>2017-06-18 20:26:12 -0400
commitd309657b40b71fba2c16aa663397da81e126a2fb (patch)
tree875e910da4f87f77864d6d22be1c66f6c7db873d /roles/openshift_master/tasks
parentd7be27f7f9321099e52b54afcce2308ac1e1671f (diff)
downloadopenshift-d309657b40b71fba2c16aa663397da81e126a2fb.tar.gz
openshift-d309657b40b71fba2c16aa663397da81e126a2fb.tar.bz2
openshift-d309657b40b71fba2c16aa663397da81e126a2fb.tar.xz
openshift-d309657b40b71fba2c16aa663397da81e126a2fb.zip
Preserve etcd3 storage if it's already in use
This would be the case if for instance they'd upgraded and then migrated.
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml20
1 files changed, 0 insertions, 20 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 035c15fef..aed5598c0 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -164,26 +164,6 @@
- restart master api
- restart master controllers
-- name: Configure master to use etcd3 storage backend on 3.6 clean installs
- yedit:
- src: /etc/origin/master/master-config.yaml
- key: "{{ item.key }}"
- value: "{{ item.value }}"
- with_items:
- - key: kubernetesMasterConfig.apiServerArguments.storage-backend
- value:
- - etcd3
- - key: kubernetesMasterConfig.apiServerArguments.storage-media-type
- value:
- - application/vnd.kubernetes.protobuf
- when:
- - r_openshift_master_clean_install
- - openshift.common.version_gte_3_6
- notify:
- - restart master
- - restart master api
- - restart master controllers
-
- include: set_loopback_context.yml
when: openshift.common.version_gte_3_2_or_1_2