helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

feat(helm): add option to disable rbac creation

Open gbloquel opened this issue 8 months ago • 2 comments

AIM

Enable or disable ClusterRole and RoleBinding creation. The use case is to allow users to use this chart in clusters where creating such objetcs is not allowed by helm deployment. Also, it's adding the ability to customize the rules, as not all of them are required for the operator to work.

How to use

To use this feature, simply update a propertie in the values.

...
operator:
  rbac:
    create: true
...
  • set true for enable but it's default value.
  • set false for disable.

gbloquel avatar Apr 09 '25 14:04 gbloquel

please update here first https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/templates/fluent-operator-clusterRole.yaml When the version is released we will merge it here

wenchajun avatar Apr 10 '25 08:04 wenchajun

Thanks for your help. I have done a new PR here https://github.com/fluent/fluent-operator/pull/1556

gbloquel avatar Apr 10 '25 09:04 gbloquel