disable bird-check flag for probes of calico-node pods when calico_network_backend is not 'bird'. (#6217)

This commit is contained in:
Sergey 2020-06-01 22:44:14 +03:00 committed by GitHub
parent 7c0fbe2959
commit cc507d7ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,9 @@ spec:
command:
- /bin/calico-node
- -felix-live
{% if calico_network_backend|default("bird") == "bird" %}
- -bird-live
{% endif %}
{% endif %}
initialDelaySeconds: 5
failureThreshold: 6
@ -299,7 +301,9 @@ spec:
exec:
command:
- /bin/calico-node
{% if calico_network_backend|default("bird") == "bird" %}
- -bird-ready
{% endif %}
- -felix-ready
{% endif %}
volumeMounts: