Files
cozystack/packages
Arsolitt d1ec6e477c fix(kafka): gate dashboard RBAC external-bootstrap solely on external flag
The dashboard-resourcemap template was using an OR condition that also
enabled the external-bootstrap Role entry when tls.enabled=true with
external=false. This violates least-privilege: the external listener is
only created when external=true (matching kafka.yaml), so RBAC for it
must follow the same gate.

Simplify $showExternal to .Values.external | default false and update
the test to assert the external-bootstrap entry is absent when
external=false, regardless of tls.enabled.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Arsolitt <arsolitt@gmail.com>
2026-05-27 11:16:42 +03:00
..