Convert numbers to string for calico's inventory check. (#8120)
Fix https://github.com/kubernetes-sigs/kubespray/issues/8119 Signed-off-by: Julio Morimoto <julio@morimoto.net.br>
This commit is contained in:
parent
4db057e9c2
commit
d42b7228c2
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
||||||
- name: "Check if inventory match current cluster configuration"
|
- name: "Check if inventory match current cluster configuration"
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- calico_pool_conf.spec.blockSize == (calico_pool_blocksize | default(kube_network_node_prefix))
|
- calico_pool_conf.spec.blockSize|string == (calico_pool_blocksize | default(kube_network_node_prefix | string))
|
||||||
- calico_pool_conf.spec.cidr == (calico_pool_cidr | default(kube_pods_subnet))
|
- calico_pool_conf.spec.cidr == (calico_pool_cidr | default(kube_pods_subnet))
|
||||||
- not calico_pool_conf.spec.ipipMode is defined or calico_pool_conf.spec.ipipMode == calico_ipip_mode
|
- not calico_pool_conf.spec.ipipMode is defined or calico_pool_conf.spec.ipipMode == calico_ipip_mode
|
||||||
- not calico_pool_conf.spec.vxlanMode is defined or calico_pool_conf.spec.vxlanMode == calico_vxlan_mode
|
- not calico_pool_conf.spec.vxlanMode is defined or calico_pool_conf.spec.vxlanMode == calico_vxlan_mode
|
||||||
|
|
Loading…
Reference in a new issue