c12s-kubespray/roles/kubernetes-apps/policy_controller/meta/main.yml
Zhong Jianxin c553912f93
[2.20] Fix: install calico-kube-controller on kdd (#9358) (#9470)
* Fix: install policy controller on kdd too

* Remove the calico_policy_version condition altogether

* Install policy controller both on canal and calico under same condition

Co-authored-by: Piotr Kowalczyk <7711184+wayfrro@users.noreply.github.com>
2022-11-07 15:12:17 -08:00

9 lines
180 B
YAML

---
dependencies:
- role: policy_controller/calico
when:
- kube_network_plugin in ['calico', 'canal']
- enable_network_policy
tags:
- policy-controller