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

This commit is contained in:
JSpon 2022-12-13 23:41:34 -05:00 committed by GitHub
parent f8d6b54dbb
commit 94eae6a8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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