Skip to content

feat(helm): adds a flag for tokengen rbac components so that they can be disabled optionally - #15882

Merged
Jayclifford345 merged 3 commits into
grafana:mainfrom
drew0ps:add-tokengen-rbac-flags
Aug 1, 2025
Merged

feat(helm): adds a flag for tokengen rbac components so that they can be disabled optionally#15882
Jayclifford345 merged 3 commits into
grafana:mainfrom
drew0ps:add-tokengen-rbac-flags

Conversation

@drew0ps

@drew0ps drew0ps commented Jan 22, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This PR adds the option to disable the RBAC manifests from the tokengen component. This is needed for enterprise kubernetes offerings where developers/service owners are not allowed to deploy rbac related manifests, only specific workload related ones. In such cases, deploying the RBAC manifests are typically done separately after approval or by an infrastructure team.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR
@drew0ps
drew0ps requested a review from a team as a code owner January 22, 2025 15:43
@CLAassistant

CLAassistant commented Jan 22, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added area/helm type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories labels Jan 22, 2025
@QuentinBisson

Copy link
Copy Markdown
Contributor

@drew0ps I think your pull request makes sense. Can you resolve the conflicts?

@drew0ps

drew0ps commented Jul 21, 2025

Copy link
Copy Markdown
Contributor Author

@drew0ps I think your pull request makes sense. Can you resolve the conflicts?

Branch has been rebased - Conflicts should be solved.

@QuentinBisson

Copy link
Copy Markdown
Contributor

LGTM

Comment thread production/helm/loki/CHANGELOG.md Outdated
@drew0ps

drew0ps commented Jul 21, 2025

Copy link
Copy Markdown
Contributor Author

@QuentinBisson - Your suggestion has been implemented. Do let me know if we require any more changes for an approval.

@QuentinBisson

Copy link
Copy Markdown
Contributor

Thank you for your work. Te Loki team is fixing the ci workflows right now but i'll let you know if you need to do anything

@QuentinBisson

Copy link
Copy Markdown
Contributor

@drew0ps can you fix the merge conflicts?

drew0ps and others added 2 commits July 29, 2025 00:10
Co-authored-by: Quentin Bisson <quentin.bisson@gmail.com>
Signed-off-by: Adam Marton <ad.marton@proton.me>
@drew0ps

drew0ps commented Jul 28, 2025

Copy link
Copy Markdown
Contributor Author

@drew0ps can you fix the merge conflicts?

Branch has been rebased

@QuentinBisson

Copy link
Copy Markdown
Contributor

Awesome thanks

@QuentinBisson

Copy link
Copy Markdown
Contributor

LGTM

Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
@Jayclifford345
Jayclifford345 merged commit 10536b2 into grafana:main Aug 1, 2025
78 checks passed
felix0102 pushed a commit to felix0102/loki that referenced this pull request Aug 2, 2026
… be disabled optionally (grafana#15882)

Signed-off-by: Adam Marton <ad.marton@proton.me>
Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
Co-authored-by: Quentin Bisson <quentin.bisson@gmail.com>
Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/helm size/S type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories

4 participants