mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Switch calicoctl from a container to a binary (#4524)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d5d3cfd3fa
commit
c5fb734098
6
roles/network_plugin/canal/templates/calicoctl.sh.j2
Normal file
6
roles/network_plugin/canal/templates/calicoctl.sh.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user