Skip to content
Snippets Groups Projects
Unverified Commit 94eae6a8 authored by JSpon's avatar JSpon Committed by GitHub
Browse files

adjust calico-kube-controller to use hostNetwork when using etcd as datastore (#9573)

parent f8d6b54d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment