mirror of https://git.rancher.io/rke2-charts
Merge pull request #246 from rbrtbnfgl/canal-ipv6
Updated canal chart for ipv6 only configpull/250/head
commit
58daa54259
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
name: rke2-canal
|
||||
description: Install Canal Network Plugin.
|
||||
version: v3.21.4-build20220317
|
||||
version: v3.21.4-build20220427
|
||||
appVersion: v3.21.4
|
||||
home: https://www.projectcalico.org/
|
||||
keywords:
|
||||
|
|
|
@ -37,18 +37,24 @@ data:
|
|||
"ipam": {
|
||||
"type": "host-local",
|
||||
"ranges": [
|
||||
{{- if coalesce .Values.global.clusterCIDRv4 .Values.podCidr }}
|
||||
[
|
||||
{
|
||||
"subnet": "usePodCidr"
|
||||
}
|
||||
{{- if coalesce .Values.global.clusterCIDRv6 .Values.podCidrv6 }}
|
||||
],
|
||||
{{- else }}
|
||||
]
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if coalesce .Values.global.clusterCIDRv6 .Values.podCidrv6 }}
|
||||
[
|
||||
{
|
||||
"subnet": "usePodCidrIPv6"
|
||||
}
|
||||
{{- end }}
|
||||
]
|
||||
{{- end }}
|
||||
]
|
||||
},
|
||||
"policy": {
|
||||
|
@ -73,7 +79,11 @@ data:
|
|||
# Flannel network configuration. Mounted into the flannel container.
|
||||
net-conf.json: |
|
||||
{
|
||||
{{- if coalesce .Values.global.clusterCIDRv4 .Values.podCidr }}
|
||||
"Network": {{ coalesce .Values.global.clusterCIDRv4 .Values.podCidr | quote }},
|
||||
{{- else }}
|
||||
"EnableIPv4": false,
|
||||
{{- end }}
|
||||
{{- if coalesce .Values.global.clusterCIDRv6 .Values.podCidrv6 }}
|
||||
"IPv6Network": {{ coalesce .Values.global.clusterCIDRv6 .Values.podCidrv6 | quote }},
|
||||
"EnableIPv6": true,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# The IPv4 cidr pool to create on startup if none exists. Pod IPs will be
|
||||
# chosen from this range.
|
||||
podCidr: "10.42.0.0/16"
|
||||
#podCidr: "10.42.0.0/16"
|
||||
|
||||
flannel:
|
||||
# kube-flannel image
|
||||
|
|
Loading…
Reference in New Issue