Skip to content

Commit

Permalink
Fix download calico policy condition (#6474)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodow authored Aug 1, 2020
1 parent 94df580 commit bd60df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/download/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit bd60df9

Please sign in to comment.