mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
The dashboard Role already refuses to grant the key-bearing TLS Secrets, but nothing in the chart told the CA-extraction controller to publish the key-free trust anchor those Secrets feed: no TenantProjection sentinel referenced the CA Certificate's Secret as a source. Without that sentinel the controller has nothing to act on, so rabbitmq-<name>.tenant-ca is never created and a tenant has no path to the CA at all, contrary to what the README and the Role's own comments describe. Add templates/tenant-projection.yaml, gated on the same TLS condition as the certificate chain and mirroring the nats and qdrant charts: it names the CA Certificate's Secret as the projection source. Drop the internal.cozystack.io/publish-ca-cert labels from certmanager.yaml, since the controller resolves its source by name through the sentinel rather than by a label on the Secret, and correct the comments and README passage that described that label as the actual publication mechanism. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>