---
dependencies:
  - role: network_plugin/cilium
    when: kube_network_plugin == 'cilium' or cilium_deploy_additionally | default(false) | bool
    tags:
      - cilium

  - role: network_plugin/calico
    when: kube_network_plugin == 'calico'
    tags:
      - calico

  - role: network_plugin/flannel
    when: kube_network_plugin == 'flannel'
    tags:
      - flannel

  - role: network_plugin/weave
    when: kube_network_plugin == 'weave'
    tags:
      - weave

  - role: network_plugin/canal
    when: kube_network_plugin == 'canal'
    tags:
      - canal

  - role: network_plugin/cni
    when: kube_network_plugin in ['cni', 'cloud']
    tags:
      - cni

  - role: network_plugin/macvlan
    when: kube_network_plugin == 'macvlan'
    tags:
      - macvlan

  - role: network_plugin/kube-ovn
    when: kube_network_plugin == 'kube-ovn'
    tags:
      - kube-ovn

  - role: network_plugin/kube-router
    when: kube_network_plugin == 'kube-router'
    tags:
      - kube-router

  - role: network_plugin/ovn4nfv
    when: kube_network_plugin == 'ovn4nfv'
    tags:
      - ovn4nfv

  - role: network_plugin/multus
    when: kube_network_plugin_multus
    tags:
      - multus