adjust calico-kube-controller to use hostNetwork when using etcd as datastore
This commit is contained in:
parent
061f2d872e
commit
40d9b522c9
|
@ -21,6 +21,9 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ calico_policy_controller_deployment_nodeselector }}
|
{{ calico_policy_controller_deployment_nodeselector }}
|
||||||
|
{% if calico_datastore == "etcd" %}
|
||||||
|
hostNetwork: true
|
||||||
|
{% endif %}
|
||||||
serviceAccountName: calico-kube-controllers
|
serviceAccountName: calico-kube-controllers
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
|
|
Loading…
Reference in a new issue