Browse Source

Fix download calico policy condition (#6474)

pull/6487/head
Maxime Lavandier 4 years ago
committed by GitHub
parent
commit
bd60df97aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/download/defaults/main.yml

2
roles/download/defaults/main.yml

@ -783,7 +783,7 @@ downloads:
- k8s-cluster - k8s-cluster
calico_policy: calico_policy:
enabled: "{{ enable_network_policy or kube_network_plugin == 'canal' }}"
enabled: "{{ enable_network_policy and kube_network_plugin in ['calico', 'canal'] }}"
container: true container: true
repo: "{{ calico_policy_image_repo }}" repo: "{{ calico_policy_image_repo }}"
tag: "{{ calico_policy_image_tag }}" tag: "{{ calico_policy_image_tag }}"

Loading…
Cancel
Save