diff --git a/templates/aws-hosted-cp/templates/k0smotroncontrolplane.yaml b/templates/aws-hosted-cp/templates/k0smotroncontrolplane.yaml index 97dc5cac0..372f9bb32 100644 --- a/templates/aws-hosted-cp/templates/k0smotroncontrolplane.yaml +++ b/templates/aws-hosted-cp/templates/k0smotroncontrolplane.yaml @@ -20,6 +20,10 @@ spec: name: {{ include "k0sconfig.name" . }} namespace: {{ .Release.Namespace }} spec: + network: + provider: calico + calico: + mode: ipip extensions: helm: repositories: @@ -39,4 +43,4 @@ spec: - --cluster-name={{ include "cluster.name" . }} # Removing the default `node-role.kubernetes.io/control-plane` node selector # TODO: it does not work - # nodeSelector: "" \ No newline at end of file + # nodeSelector: "" diff --git a/templates/aws-standalone-cp/templates/k0scontrolplane.yaml b/templates/aws-standalone-cp/templates/k0scontrolplane.yaml index 98a713ac9..b2e3ad31f 100644 --- a/templates/aws-standalone-cp/templates/k0scontrolplane.yaml +++ b/templates/aws-standalone-cp/templates/k0scontrolplane.yaml @@ -21,6 +21,10 @@ spec: api: extraArgs: anonymous-auth: "true" + network: + provider: calico + calico: + mode: ipip extensions: helm: repositories: