diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-06-19 15:18:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 15:18:02 -0400 |
commit | fabc141055b93d541701c82ce71d31a0a1d1bb6f (patch) | |
tree | 519e0c04df4dd5bebab8ab6dc70b6d13ae77e014 /roles/openshift_master/templates | |
parent | 326d8e530db5f0cfcbc1a77451150699063e900e (diff) | |
parent | d309657b40b71fba2c16aa663397da81e126a2fb (diff) | |
download | openshift-fabc141055b93d541701c82ce71d31a0a1d1bb6f.tar.gz openshift-fabc141055b93d541701c82ce71d31a0a1d1bb6f.tar.bz2 openshift-fabc141055b93d541701c82ce71d31a0a1d1bb6f.tar.xz openshift-fabc141055b93d541701c82ce71d31a0a1d1bb6f.zip |
Merge pull request #4486 from sdodson/etcdv3-clean-install
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r-- | roles/openshift_master/templates/master.yaml.v1.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2 index 1935d9592..6c26e5092 100644 --- a/roles/openshift_master/templates/master.yaml.v1.j2 +++ b/roles/openshift_master/templates/master.yaml.v1.j2 @@ -139,6 +139,12 @@ kubernetesMasterConfig: - v1 {% endif %} apiServerArguments: {{ openshift.master.api_server_args | default(None) | to_padded_yaml( level=2 ) }} +{% if r_openshift_master_etcd3_storage or ( r_openshift_master_clean_install and openshift.common.version_gte_3_6 ) %} + storage-backend: + - etcd3 + storage-media-type: + - application/vnd.kubernetes.protobuf +{% endif %} controllerArguments: {{ openshift.master.controller_args | default(None) | to_padded_yaml( level=2 ) }} masterCount: {{ openshift.master.master_count if openshift.master.cluster_method | default(None) == 'native' else 1 }} masterIP: {{ openshift.common.ip }} |