20c7e31ea3
* Add calico 3.7.3 support * add calico_datastore variable to policy controller role * add missing clusterrole rules for calico policy controller * disable calico kube controller when kdd mode is used for versions < 3.6
16 lines
462 B
YAML
16 lines
462 B
YAML
---
|
|
dependencies:
|
|
- role: policy_controller/calico
|
|
when:
|
|
- kube_network_plugin == 'calico'
|
|
- enable_network_policy
|
|
- calico_datastore != "kdd" or calico_policy_version is version('v3.6.0', '>=')
|
|
tags:
|
|
- policy-controller
|
|
|
|
- role: policy_controller/calico
|
|
when:
|
|
- kube_network_plugin == 'canal'
|
|
- calico_datastore != "kdd" or calico_policy_version is version('v3.6.0', '>=')
|
|
tags:
|
|
- policy-controller
|