Add network-plugin option

This commit is contained in:
2023-03-17 15:57:48 +01:00
parent 0fc5dbb791
commit e5920b3ddf
7 changed files with 114 additions and 0 deletions
@@ -17,7 +17,12 @@ service-cidr: {{ kubernetes.ipPool.ipv4.service_cidr }},{{ kubernetes.ipPool.ipv
egress-selector-mode: disabled
# Network-plugin
{% if kubernetes.network_plugin == "flannel" %}
flannel-backend: vxlan
{% else %}
disable-network-policy: true
flannel-backend: none
{% endif %}
# FIXME: Workaround for bug in Kubernetes 1.24/1.25 ignoring node IPv6 addresses
kubelet-arg: "--node-ip=0.0.0.0"