Browse Source

Add subnet var in tests

pull/1064/head
Antoine Legrand 7 years ago
parent
commit
08d9d24320
1 changed files with 1 additions and 0 deletions
  1. 1
      tests/testcases/030_check-network.yml

1
tests/testcases/030_check-network.yml

@ -34,6 +34,7 @@
register: running_pods register: running_pods
- set_fact: - set_fact:
kube_pods_subnet: 10.233.64.0/18
pod_names: "{{ (pods.stdout | from_json)['items'] | map(attribute = 'metadata.name') | list }}" pod_names: "{{ (pods.stdout | from_json)['items'] | map(attribute = 'metadata.name') | list }}"
pod_ips: "{{ (pods.stdout | from_json)['items'] | selectattr('status.podIP', 'defined') | map(attribute = 'status.podIP') | list }}" pod_ips: "{{ (pods.stdout | from_json)['items'] | selectattr('status.podIP', 'defined') | map(attribute = 'status.podIP') | list }}"
pods_hostnet: | pods_hostnet: |

Loading…
Cancel
Save