瀏覽代碼

Merge pull request #10449 from mgleung/calico-binary-checks-versions

Fix Calico liveness and readiness checks to include Calico 3.2
Scott Dodson 6 年之前
父節點
當前提交
143d0906ba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/calico/tasks/main.yml

+ 1 - 1
roles/calico/tasks/main.yml

@@ -96,7 +96,7 @@
 
 - name: Calico | Set the correct liveness and readiness checks
   set_fact:
-    calico_binary_checks: "{{ (node_version > '3.2.0' and cnx != 'cnx') or (node_version > '2.2.0' and cnx == 'cnx') | bool }}"
+    calico_binary_checks: "{{ (node_version >= '3.2.0' and cnx != 'cnx') or (node_version >= '2.2.0' and cnx == 'cnx') | bool }}"
 
 - name: Calico | Write Calico v2
   template: