mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
The external SAN dereferenced .Values._namespace.host directly, so a render without that injected value aborted on a nil pointer with no indication of what was missing. TLS now defaults on whenever external is true, which puts that lookup on the default path for every externally reachable Redis. Wrap it in required with an explicit message, matching how the nats chart guards the same lookup in its own certificate template. Failing is the right behaviour rather than dropping the SAN: a certificate issued without the external hostname is accepted by nothing outside the cluster and the resulting handshake error points nowhere near the cause. Signed-off-by: Aleksei Sviridkin <f@lex.la> Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>