adjust calico-kube-controller to use hostNetwork when using etcd as datastore

This commit is contained in:
JSpon 2022-12-13 21:41:45 -05:00
parent f8d6b54dbb
commit 88ac97ad02

View file

@ -21,6 +21,9 @@ spec:
spec:
nodeSelector:
{{ calico_policy_controller_deployment_nodeselector }}
{% if calico_datastore == "etcd" %}
hostNetwork: true
{% endif %}
serviceAccountName: calico-kube-controllers
tolerations:
- key: CriticalAddonsOnly