[calico] clean up workarounds for older versions

This commit is contained in:
Calin Cristian Andrei
2022-06-11 18:57:09 +03:00
committed by Kubernetes Prow Robot
parent 9efe145688
commit 2de5c4821c
7 changed files with 5 additions and 11 deletions

View File

@@ -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: