adjust calico-kube-controller to use hostNetwork when using etcd as datastore (#9573)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user