Skip to content

Commit

Permalink
HMC-104: change default network provider to calico for k0s
Browse files Browse the repository at this point in the history
  • Loading branch information
a13x5 committed Jul 24, 2024
1 parent 97f84e5 commit 37f2bca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/aws-hosted-cp/templates/k0smotroncontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
name: {{ include "k0sconfig.name" . }}
namespace: {{ .Release.Namespace }}
spec:
network:
provider: calico
calico:
mode: ipip
extensions:
helm:
repositories:
Expand All @@ -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: ""
# nodeSelector: ""
4 changes: 4 additions & 0 deletions templates/aws-standalone-cp/templates/k0scontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ spec:
api:
extraArgs:
anonymous-auth: "true"
network:
provider: calico
calico:
mode: ipip
extensions:
helm:
repositories:
Expand Down

0 comments on commit 37f2bca

Please sign in to comment.