c12s-kubespray/roles/network_plugin/calico/templates/calicoctl.kdd.sh.j2
Julian Tabel dc16ab92f4 fix for calico with kdd datastore (#4922)
* fix for calico with kdd datastore

* remove AS number from daemonset

* revert changes to canal

* additionnal fixes for kdd datastore in calico
2019-07-08 12:20:03 +03:00

7 lines
180 B
Django/Jinja

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