2019-04-15 11:24:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
ETCD_ENDPOINTS={{ etcd_access_addresses }} \
|
|
|
|
ETCD_CA_CERT_FILE={{ calico_cert_dir }}/ca_cert.crt \
|
|
|
|
ETCD_CERT_FILE={{ calico_cert_dir }}/cert.crt \
|
|
|
|
ETCD_KEY_FILE={{ calico_cert_dir }}/key.pem \
|
2021-08-20 21:30:48 +00:00
|
|
|
{{ bin_dir }}/calicoctl {% if calico_version is version('v3.20.0', '>=') %}--allow-version-mismatch{% endif %} "$@"
|