mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 01:57:37 -03:30
adjust calico-kube-controller to use hostNetwork when using etcd as datastore (#9573)
This commit is contained in:
parent
f8d6b54dbb
commit
94eae6a8dc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user