mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-11-20 16:37:40 +00:00
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>