mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
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>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd