[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

@@ -40,7 +40,6 @@ spec:
requests:
cpu: {{ calico_policy_controller_cpu_requests }}
memory: {{ calico_policy_controller_memory_requests }}
{% if calico_version is version('v3.19.0', '>=') %}
livenessProbe:
exec:
command:
@@ -49,7 +48,6 @@ spec:
periodSeconds: 10
initialDelaySeconds: 10
failureThreshold: 6
{% endif %}
readinessProbe:
exec:
command:

View File

@@ -4,13 +4,13 @@ dependencies:
when:
- kube_network_plugin == 'calico'
- enable_network_policy
- calico_datastore != "kdd" or calico_policy_version is version('v3.6.0', '>=')
- calico_datastore != "kdd"
tags:
- policy-controller
- role: policy_controller/calico
when:
- kube_network_plugin == 'canal'
- calico_datastore != "kdd" or calico_policy_version is version('v3.6.0', '>=')
- calico_datastore != "kdd"
tags:
- policy-controller