c12s-kubespray/roles/kubernetes-apps/policy_controller/meta/main.yml

24 lines
510 B
YAML

---
dependencies:
- role: download
file: "{{ downloads.calico_policy }}"
when:
- enable_network_policy
- kube_network_plugin in ['calico', 'canal']
tags:
- download
- canal
- policy-controller
- role: policy_controller/calico
when:
- kube_network_plugin == 'calico'
- enable_network_policy
tags:
- policy-controller
- role: policy_controller/calico
when:
- kube_network_plugin == 'canal'
tags:
- policy-controller