Browse Source

Fix: install calico-kube-controller on kdd (#9358)

* 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
pull/9381/head
Piotr Kowalczyk 2 years ago
committed by GitHub
parent
commit
3b99d24ceb
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: dependencies:
- role: policy_controller/calico - role: policy_controller/calico
when: when:
- kube_network_plugin == 'calico'
- kube_network_plugin in ['calico', 'canal']
- enable_network_policy - enable_network_policy
- calico_datastore != "kdd"
tags:
- policy-controller
- role: policy_controller/calico
when:
- kube_network_plugin == 'canal'
- calico_datastore != "kdd"
tags: tags:
- policy-controller - policy-controller
Loading…
Cancel
Save