Browse Source

Revert "etcd: enable v2 api only if needed (#8001)" (#8008)

This reverts commit c0e1211abe.
pull/8011/head
Florian Ruynat 3 years ago
committed by GitHub
parent
commit
88c11b5946
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. 3
      roles/etcd/templates/etcd.env.j2

3
roles/etcd/templates/etcd.env.j2

@ -32,9 +32,8 @@ ETCD_MAX_SNAPSHOTS={{ etcd_max_snapshots }}
{% if etcd_max_wals is defined %}
ETCD_MAX_WALS={{ etcd_max_wals }}
{% endif %}
{% if hostvars[groups['k8s_cluster'][0]]['kube_network_plugin'] == 'flannel' %}
# Flannel need etcd v2 API
ETCD_ENABLE_V2=true
{% endif %}
# TLS settings
ETCD_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem

Loading…
Cancel
Save