2017-03-13 23:04:31 +08:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: policy_controller/calico
|
2017-10-05 15:43:04 +08:00
|
|
|
when:
|
|
|
|
- kube_network_plugin == 'calico'
|
|
|
|
- enable_network_policy
|
2019-07-10 03:42:28 +08:00
|
|
|
- calico_datastore != "kdd" or calico_policy_version is version('v3.6.0', '>=')
|
2017-10-05 15:43:04 +08:00
|
|
|
tags:
|
|
|
|
- policy-controller
|
|
|
|
|
2017-03-13 23:04:31 +08:00
|
|
|
- role: policy_controller/calico
|
2017-10-05 15:43:04 +08:00
|
|
|
when:
|
|
|
|
- kube_network_plugin == 'canal'
|
2019-07-10 03:42:28 +08:00
|
|
|
- calico_datastore != "kdd" or calico_policy_version is version('v3.6.0', '>=')
|
2017-10-05 15:43:04 +08:00
|
|
|
tags:
|
|
|
|
- policy-controller
|