mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 13:39:30 -02:30
Fix download calico policy condition (#6474)
This commit is contained in:
@@ -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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user