Fix download calico policy condition (#6474)

pull/6487/head
Maxime Lavandier 2020-08-01 08:29:48 +01:00 committed by GitHub
parent 94df580674
commit bd60df97aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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