Skip to content

Commit

Permalink
Provide dual-stack support to canal
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <[email protected]>
  • Loading branch information
manuelbuil committed Jan 14, 2022
1 parent 9a85dd4 commit a0e15f1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
15 changes: 14 additions & 1 deletion packages/rke2-canal/charts/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,20 @@ data:
"mtu": __CNI_MTU__,
"ipam": {
"type": "host-local",
"subnet": "usePodCidr"
"ranges": [
[
{
"subnet": "usePodCidr"
}
{{- if coalesce .Values.global.clusterCIDRv6 .Values.podCidrv6 }}
],
[
{
"subnet": "usePodCidrIPv6"
}
{{- end }}
]
]
},
"policy": {
"type": "k8s"
Expand Down
6 changes: 3 additions & 3 deletions packages/rke2-canal/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ calico:
# CNI installation image.
cniImage:
repository: rancher/hardened-calico
tag: v3.20.2-build20211119
tag: v3.20.3-build20220114
# Canal node image.
nodeImage:
repository: rancher/hardened-calico
tag: v3.20.2-build20211119
tag: v3.20.3-build20220114
# Flexvol Image.
flexvolImage:
repository: rancher/hardened-calico
tag: v3.20.2-build20211119
tag: v3.20.3-build20220114
# Datastore type for canal. It can be either kuberentes or etcd.
datastoreType: kubernetes
# Wait for datastore to initialize.
Expand Down
4 changes: 1 addition & 3 deletions packages/rke2-canal/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
url: local
packageVersion: 04
# This repository does not use releaseCandidateVersions, so you can leave this as 00.
releaseCandidateVersion: 00
packageVersion: 05

0 comments on commit a0e15f1

Please sign in to comment.