Fixes #2800
parent
09f93d9e0c
commit
4b8daa22f6
|
@ -17,13 +17,13 @@
|
||||||
|
|
||||||
- name: Stop if unknown network plugin
|
- name: Stop if unknown network plugin
|
||||||
assert:
|
assert:
|
||||||
that: network_plugin in ['calico', 'canal', 'flannel', 'weave', 'cloud']
|
that: kube_network_plugin in ['calico', 'canal', 'flannel', 'weave', 'cloud']
|
||||||
when: network_plugin is defined
|
when: kube_network_plugin is defined
|
||||||
ignore_errors: "{{ ignore_assert_errors }}"
|
ignore_errors: "{{ ignore_assert_errors }}"
|
||||||
|
|
||||||
- name: Stop if incompatible network plugin and cloudprovider
|
- name: Stop if incompatible network plugin and cloudprovider
|
||||||
assert:
|
assert:
|
||||||
that: network_plugin != 'calico'
|
that: kube_network_plugin != 'calico'
|
||||||
msg: "Azure and Calico are not compatible. See https://github.com/projectcalico/calicoctl/issues/949 for details."
|
msg: "Azure and Calico are not compatible. See https://github.com/projectcalico/calicoctl/issues/949 for details."
|
||||||
when: cloud_provider is defined and cloud_provider == 'azure'
|
when: cloud_provider is defined and cloud_provider == 'azure'
|
||||||
ignore_errors: "{{ ignore_assert_errors }}"
|
ignore_errors: "{{ ignore_assert_errors }}"
|
||||||
|
|
Loading…
Reference in New Issue