ソースを参照

Fix Calico liveness and readiness checks to include Calico 3.2

matt 6 年 前
コミット
43f814790e
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: