Architecture decision records

Architecture decision records

ADR 0007Edited 2026-09-29

Cross-namespace references are gated by NatsReferenceGrant alone

A reference crosses namespaces only where a NatsReferenceGrant in the target namespace admits it, modelled on Gateway API’s ReferenceGrant and checked on every reconcile so that deleting a grant revokes what it admitted; withdrawing a grant to a trust object holds the NatsCluster at its last render instead (design §7). It replaced both an allow-list field on NatsAccount and a requester-RBAC check at admission, which needed a webhook and could not revoke. The name is not NatsGrant because NATS already grants permissions and imports.

Esc
↓ ↑ Navigate Enter Select Esc Close