Files
submariner-charts/submariner-operator/templates
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
..
2022-11-07 12:40:43 -05:00