mirror of https://git.rancher.io/rke2-charts
Merge pull request #267 from rbrtbnfgl/calico-dualstack
Fixed calico chart for dualstackpull/268/head
commit
d1d945b2fe
|
@ -1,6 +1,6 @@
|
||||||
--- charts-original/templates/crs/custom-resources.yaml
|
--- charts-original/templates/crs/custom-resources.yaml
|
||||||
+++ charts/templates/crs/custom-resources.yaml
|
+++ charts/templates/crs/custom-resources.yaml
|
||||||
@@ -6,6 +6,27 @@
|
@@ -6,6 +6,28 @@
|
||||||
{{ $secrets = append $secrets $item }}
|
{{ $secrets = append $secrets $item }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $_ := set $installSpec "imagePullSecrets" $secrets }}
|
{{ $_ := set $installSpec "imagePullSecrets" $secrets }}
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
+{{ $myIP4Dict := dict "natOutgoing" "Enabled" "encapsulation" "VXLAN" "cidr" .Values.global.clusterCIDRv4 }}
|
+{{ $myIP4Dict := dict "natOutgoing" "Enabled" "encapsulation" "VXLAN" "cidr" .Values.global.clusterCIDRv4 }}
|
||||||
+{{ if not (empty .Values.global.clusterCIDRv6) }}
|
+{{ if not (empty .Values.global.clusterCIDRv6) }}
|
||||||
+{{ $myIP6Dict := dict "natOutgoing" "Enabled" "encapsulation" "VXLAN" "cidr" .Values.global.clusterCIDRv6 }}
|
+{{ $myIP6Dict := dict "natOutgoing" "Enabled" "encapsulation" "VXLAN" "cidr" .Values.global.clusterCIDRv6 }}
|
||||||
+{{ $finalIpPoolList := append $myIP4Dict $myIP6Dict }}
|
+{{ $ipPoolList := list $myIP4Dict }}
|
||||||
|
+{{ $finalIpPoolList := append $ipPoolList $myIP6Dict }}
|
||||||
+{{ $_ := set $calicoNetwork "ipPools" $finalIpPoolList }}
|
+{{ $_ := set $calicoNetwork "ipPools" $finalIpPoolList }}
|
||||||
+{{ else }}
|
+{{ else }}
|
||||||
+{{ $finalIpPoolList := list $myIP4Dict }}
|
+{{ $finalIpPoolList := list $myIP4Dict }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
url: https://github.com/projectcalico/calico/releases/download/v3.23.1/tigera-operator-v3.23.1.tgz
|
url: https://github.com/projectcalico/calico/releases/download/v3.23.1/tigera-operator-v3.23.1.tgz
|
||||||
packageVersion: 02
|
packageVersion: 03
|
||||||
additionalCharts:
|
additionalCharts:
|
||||||
- workingDir: charts-crd
|
- workingDir: charts-crd
|
||||||
crdOptions:
|
crdOptions:
|
||||||
|
|
Loading…
Reference in New Issue