You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
452 B

  1. ---
  2. dependencies:
  3. - role: download
  4. file: "{{ downloads.calico_policy }}"
  5. when: enable_network_policy and
  6. kube_network_plugin in ['calico', 'canal']
  7. tags: [download, canal, policy-controller]
  8. - role: policy_controller/calico
  9. when: kube_network_plugin == 'calico' and
  10. enable_network_policy
  11. tags: policy-controller
  12. - role: policy_controller/calico
  13. when: kube_network_plugin == 'canal'
  14. tags: policy-controller