Added new configuration item for extra tolerations in policy controllers
Signed-off-by: Sébastien Masset <smt.masset@gmail.com>
This commit is contained in:
parent
2cc5f04bad
commit
47af8b7ea5
2 changed files with 6 additions and 0 deletions
|
@ -81,3 +81,6 @@ dashboard_master_toleration: true
|
||||||
# Override dashboard default settings
|
# Override dashboard default settings
|
||||||
dashboard_token_ttl: 900
|
dashboard_token_ttl: 900
|
||||||
dashboard_skip_login: false
|
dashboard_skip_login: false
|
||||||
|
|
||||||
|
# Policy Controllers
|
||||||
|
# policy_controller_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}]
|
||||||
|
|
|
@ -28,6 +28,9 @@ spec:
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
{% if policy_controller_extra_tolerations is defined %}
|
||||||
|
{{ policy_controller_extra_tolerations | list | to_nice_yaml(indent=2) | indent(8) }}
|
||||||
|
{% endif %}
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
containers:
|
containers:
|
||||||
- name: calico-kube-controllers
|
- name: calico-kube-controllers
|
||||||
|
|
Loading…
Reference in a new issue