Tobias Harnickell ead9653ff6
fix(charts): Skip cluster-scope RBAC on namespaced (#5843)
* fix(charts): Skip cluster-scope RBAC on namespaced

* Restore tenant-friendly installs by keeping RBAC namespaced if
  `.Values.gatewayNamespace` is set
* `namespaced=true` and `gatewayNamespace` set results in a namespaced
  Role and Rolebinding for listing namespaces
* `namespaced=true` AND `gatewayNamespace` unset will retain the
  original `ClusterRole` and `ClusterRoleBinding`
* `namespace=false` will retain the original `ClusterRole` and
  `ClusterRoleBinding`
* No breaking changes introduced

Ticket: #5832

Signed-off-by: Tobias Harnickell <tobias.harnickell@bedag.ch>

* fix: Add review feedback

Signed-off-by: Tobias Harnickell <tobias@harnickell.ch>

* fix: Ran helm-docs

Signed-off-by: Tobias Harnickell <tobias@harnickell.ch>

* doc: Update chart changelog

Signed-off-by: Tobias Harnickell <tobias@harnickell.ch>

---------

Signed-off-by: Tobias Harnickell <tobias.harnickell@bedag.ch>
Signed-off-by: Tobias Harnickell <tobias@harnickell.ch>
2026-02-27 21:49:32 +05:30
..
2021-10-26 08:23:51 +01:00