mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 05:25:14 +09:00
The dashboard Role and the ApplicationDefinition granted the operator's key-free mariadb-<name>-ca-bundle Secret directly by name. Every other converged engine (mongodb, postgres, nats, qdrant) instead renders a TenantProjection that lifts ca.crt into the canonical <release>.tenant-ca object, reached through core.cozystack.io/tenantsecrets rather than a per-Secret grant. Add templates/tenant-projection.yaml sourcing from the operator's ca-bundle, drop the name grant from the dashboard Role and from the ApplicationDefinition's secrets.include (the existing tenant-ca matchLabels selector now has something to match), and remove the ApplicationDefinition's caCert field, which named a field the ApplicationDefinition CRD does not define and would have rejected the whole object under server-side apply. Update the README and the pinned RBAC tests to the new tenant-ca name. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>