Browse Source

[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>
release-2.20
Zhong Jianxin 2 years ago
committed by GitHub
parent
commit
c553912f93
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 9 deletions
  1. 10
      roles/kubernetes-apps/policy_controller/meta/main.yml

10
roles/kubernetes-apps/policy_controller/meta/main.yml

@ -2,15 +2,7 @@
dependencies:
- role: policy_controller/calico
when:
- kube_network_plugin == 'calico'
- kube_network_plugin in ['calico', 'canal']
- enable_network_policy
- calico_datastore != "kdd"
tags:
- policy-controller
- role: policy_controller/calico
when:
- kube_network_plugin == 'canal'
- calico_datastore != "kdd"
tags:
- policy-controller
Loading…
Cancel
Save