c12s-kubespray/roles/network_plugin/calico/templates/calicoctl.etcd.sh.j2
2022-06-15 00:57:20 -07:00

6 lines
259 B
Django/Jinja

#!/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 \
{{ bin_dir }}/calicoctl --allow-version-mismatch "$@"