k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
263 B
8 lines
263 B
#!/bin/bash
|
|
DATASTORE_TYPE=kubernetes \
|
|
{% if inventory_hostname in groups['kube_control_plane'] %}
|
|
KUBECONFIG=/etc/kubernetes/admin.conf \
|
|
{% else %}
|
|
KUBECONFIG=/etc/cni/net.d/calico-kubeconfig \
|
|
{% endif %}
|
|
{{ bin_dir }}/calicoctl --allow-version-mismatch "$@"
|