Compare commits

...
Author SHA1 Message Date
Lucas Barros 55745a2ea6 Omit ceIPSecPSK when no IPsec PSK is set
With the default ipsec.psk of "" and no pskSecret, the template
rendered "ceIPSecPSK:" with no value, which is null. The Submariner
CRD types the field as a string, so the install fails with
'spec.ceIPSecPSK in body must be of type string: "null"'. This hits
anyone using the vxlan cable driver, which needs no PSK.

Only render ceIPSecPSK when a PSK is given, and quote it so that a
numeric PSK is not turned into an integer.

Fixes #753

Signed-off-by: Lucas Barros <lucasbarros.kam@gmail.com>
2026-11-04 10:53:14 -03:00
Automated Release c43953139c Update Submariner dependencies to v0.26.0-m0
Release Charts / Release (push) Canceled after 0s
Signed-off-by: Automated Release <release@submariner.io>
2026-10-12 22:21:39 +03:00
2 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ endif
export DEPLOYTOOL = helm
GH_URL=https://submariner-io.github.io/submariner-charts/charts
CHARTS_DIR=charts
CHARTS_VERSION=0.25.0-m0
CHARTS_VERSION=0.26.0-m0
HELM_DOCS_VERSION=0.15.0
REPO_URL=$(shell git config remote.origin.url)
@@ -20,8 +20,8 @@ spec:
ceIPSecNATTPort: {{ .Values.ipsec.natPort }}
{{- if .Values.ipsec.pskSecret }}
ceIPSecPSKSecret: {{ .Values.ipsec.pskSecret }}
{{- else }}
ceIPSecPSK: {{ .Values.ipsec.psk }}
{{- else if .Values.ipsec.psk }}
ceIPSecPSK: {{ .Values.ipsec.psk | quote }}
{{- end }}
clusterCIDR: "{{ .Values.submariner.clusterCidr }}"
clusterID: {{ .Values.submariner.clusterId }}