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

This commit is contained in:
peterw
2025-03-11 04:19:46 +00:00
committed by GitHub
parent aa6aa1522b
commit c8d75effcb

View File

@@ -20,7 +20,11 @@ data:
# In case you want to use TLS in etcd, uncomment the 'ca-file' line # In case you want to use TLS in etcd, uncomment the 'ca-file' line
# and create a kubernetes secret by following the tutorial in # and create a kubernetes secret by following the tutorial in
# https://cilium.link/etcd-config # 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" ca-file: "{{ cilium_cert_dir }}/ca_cert.crt"
{% endif %}
# In case you want client to server authentication, uncomment the following # In case you want client to server authentication, uncomment the following
# lines and create a kubernetes secret by following the tutorial in # lines and create a kubernetes secret by following the tutorial in