mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
[calico] clean up workarounds for older versions
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9efe145688
commit
2de5c4821c
@@ -310,14 +310,12 @@ spec:
|
||||
requests:
|
||||
cpu: {{ calico_node_cpu_requests }}
|
||||
memory: {{ calico_node_memory_requests }}
|
||||
{% if calico_version is version('v3.21.0', '>=') %}
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command:
|
||||
- /bin/calico-node
|
||||
- -shutdown
|
||||
{% endif %}
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
|
||||
Reference in New Issue
Block a user