Skip to content
Snippets Groups Projects
Unverified Commit a4689545 authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Fix default value for standalone tests (#6043)

parent a3d3f27a
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@
- name: Test tunl0 routes
shell: "! /sbin/ip ro | grep '/26 via' | grep -v tunl0"
when:
- (ipip|default(false) or cloud_provider is defined)
- kube_network_plugin == 'calico'
- (ipip|default(true) or cloud_provider is defined)
- kube_network_plugin|default('calico') == 'calico'
- hosts: k8s-cluster
vars:
......@@ -18,7 +18,7 @@
shell: "ethtool --offload flannel.1 rx off tx off"
ignore_errors: true
when:
- kube_network_plugin == 'flannel'
- kube_network_plugin|default('calico') == 'flannel'
- name: Force binaries directory for Container Linux by CoreOS and Flatcar
set_fact:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment