Browse Source

cilium 1.17: fix etcd trusted-ca-file config var (#11986)

pull/12030/head
peterw 2 months ago
committed by GitHub
parent
commit
c8d75effcb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/network_plugin/cilium/templates/cilium/config.yml.j2

4
roles/network_plugin/cilium/templates/cilium/config.yml.j2

@ -20,7 +20,11 @@ data:
# In case you want to use TLS in etcd, uncomment the 'ca-file' line
# and create a kubernetes secret by following the tutorial in
# https://cilium.link/etcd-config
{% if cilium_version | regex_replace('v') is version('1.17.0', '>=') %}
trusted-ca-file: "{{ cilium_cert_dir }}/ca_cert.crt"
{% else %}
ca-file: "{{ cilium_cert_dir }}/ca_cert.crt"
{% endif %}
# In case you want client to server authentication, uncomment the following
# lines and create a kubernetes secret by following the tutorial in

Loading…
Cancel
Save