Files
cozystack/packages
Aleksei Sviridkin 8df75dfd89 fix(redis): fall back to the cozystack cluster domain in the leaf SAN list
The leaf certificate built its .svc.<domain> SANs from the platform's
cluster-domain value with cluster.local as the fallback, while every
other chart in the tree falls back to cozy.local, which is the domain
cozystack actually configures. The platform always injects the value so
the fallback does not fire today, but if it ever did the certificate
would carry names nothing resolves under and every TLS dial by FQDN
would fail hostname verification.

Pin the fallback with a test; the existing cluster-domain coverage only
exercised values that were explicitly set.

Signed-off-by: Aleksei Sviridkin <f@lex.la>
Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-09-02 17:56:06 +03:00
..