2022-04-11 09:52:32 +00:00
|
|
|
--- charts-original/templates/cilium-configmap.yaml
|
|
|
|
+++ charts/templates/cilium-configmap.yaml
|
2022-06-16 15:12:29 +00:00
|
|
|
@@ -1,3 +1,11 @@
|
|
|
|
+{{- if empty .Values.global.clusterCIDRv4 }}
|
|
|
|
+{{- $_ := set .Values.ipv4 "enabled" false -}}
|
|
|
|
+{{- end }}
|
|
|
|
+
|
|
|
|
+{{- if not (empty .Values.global.clusterCIDRv6) }}
|
|
|
|
+{{- $_ := set .Values.ipv6 "enabled" true -}}
|
|
|
|
+{{- end }}
|
|
|
|
+
|
|
|
|
{{- if and (.Values.agent) (not .Values.preflight.enabled) }}
|
|
|
|
{{- /* Default values with backwards compatibility */ -}}
|
|
|
|
{{- $defaultEnableCnpStatusUpdates := "true" -}}
|
2023-07-06 16:26:07 +00:00
|
|
|
@@ -238,7 +246,11 @@
|
2022-04-11 09:52:32 +00:00
|
|
|
|
|
|
|
# Enable IPv6 addressing. If enabled, all endpoints are allocated an IPv6
|
|
|
|
# address.
|
|
|
|
- enable-ipv6: {{ .Values.ipv6.enabled | quote }}
|
|
|
|
+{{- if coalesce .Values.global.clusterCIDRv6 .Values.ipv6.enabled }}
|
2022-04-11 13:54:46 +00:00
|
|
|
+ enable-ipv6: "true"
|
2022-04-11 09:52:32 +00:00
|
|
|
+{{ else }}
|
2022-04-11 13:54:46 +00:00
|
|
|
+ enable-ipv6: "false"
|
2022-04-11 09:52:32 +00:00
|
|
|
+{{- end }}
|
|
|
|
|
|
|
|
{{- if .Values.cleanState }}
|
|
|
|
# If a serious issue occurs during Cilium startup, this
|
2023-07-06 16:26:07 +00:00
|
|
|
@@ -400,6 +412,8 @@
|
2022-06-16 15:12:29 +00:00
|
|
|
enable-local-node-route: "false"
|
2022-07-26 15:23:25 +00:00
|
|
|
{{- else if .Values.aksbyocni.enabled }}
|
|
|
|
tunnel: "vxlan"
|
|
|
|
+{{- else if not .Values.ipv4.enabled }}
|
2022-06-16 15:12:29 +00:00
|
|
|
+ tunnel: "disabled"
|
2022-07-26 15:23:25 +00:00
|
|
|
{{- else }}
|
|
|
|
tunnel: {{ .Values.tunnel | quote }}
|
|
|
|
{{- end }}
|
2023-07-06 16:26:07 +00:00
|
|
|
@@ -566,6 +580,8 @@
|
2022-07-26 15:23:25 +00:00
|
|
|
|
2023-03-13 15:29:26 +00:00
|
|
|
{{- if .Values.ipv6NativeRoutingCIDR }}
|
2022-07-26 15:23:25 +00:00
|
|
|
ipv6-native-routing-cidr: {{ .Values.ipv6NativeRoutingCIDR }}
|
|
|
|
+{{- else if not .Values.ipv4.enabled }}
|
|
|
|
+ ipv6-native-routing-cidr: {{ .Values.global.clusterCIDRv6 }}
|
2022-06-16 15:12:29 +00:00
|
|
|
{{- end }}
|
|
|
|
|
2022-07-26 15:23:25 +00:00
|
|
|
{{- if hasKey .Values "fragmentTracking" }}
|