kubespray/roles/network_plugin/calico/templates/calicoctl.kdd.sh.j2

7 lines
180 B
Plaintext
Raw Normal View History

#!/bin/bash
DATASTORE_TYPE=kubernetes \
{% if inventory_hostname in groups['kube-master'] %}
KUBECONFIG={{ kube_config_dir }}/admin.conf \
{% endif %}
{{ bin_dir }}/calicoctl "$@"