Skip to content

feat(helm): support templated loki.operational_config - #17045

Merged
JStickler merged 10 commits into
grafana:mainfrom
iamhalje:add-helm-operational-config
Jul 14, 2025
Merged

feat(helm): support templated loki.operational_config#17045
JStickler merged 10 commits into
grafana:mainfrom
iamhalje:add-helm-operational-config

Conversation

@iamhalje

@iamhalje iamhalje commented Apr 6, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Adds support for templated loki.operational_config in the Helm chart, allowing users to render this section dynamically using Helm's tpl().

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

N/A

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added (via make helm-docs)
  • 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
Dmitry Ponomaryov added 3 commits April 6, 2025 21:01
Signed-off-by: Dmitry Ponomaryov <me@halje.ru>
Signed-off-by: Dmitry Ponomaryov <me@halje.ru>
Signed-off-by: Dmitry Ponomaryov <me@halje.ru>
@iamhalje
iamhalje requested a review from a team as a code owner April 6, 2025 16:17
@CLAassistant

CLAassistant commented Apr 6, 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 Apr 6, 2025
@iamhalje

Copy link
Copy Markdown
Contributor Author

@owen-d PTAL when you have time 🙏

@iamhalje

Copy link
Copy Markdown
Contributor Author

@Jayclifford345 hello, can you help with approve PR?

@jkroepke

jkroepke commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

LGTM

Context: https://grafana.com/docs/loki/latest/configure/#operational_config

Similar to #17451

@iamhalje Could you please rebase the PR?

Signed-off-by: Dmitry Ponomaryov <iamhalje@gmail.com>
@pull-request-size pull-request-size Bot added size/XS and removed size/S labels Jul 8, 2025
Signed-off-by: Dmitry Ponomaryov <iamhalje@gmail.com>
@pull-request-size pull-request-size Bot added size/S and removed size/XS labels Jul 8, 2025
@iamhalje

iamhalje commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

@jkroepke done

@jkroepke jkroepke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one nit.

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

iamhalje commented Jul 9, 2025

Copy link
Copy Markdown
Contributor Author

@jkroepke added link on PR in changelog

@iamhalje
iamhalje requested a review from jkroepke July 11, 2025 03:08

@jkroepke jkroepke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iamhalje

Copy link
Copy Markdown
Contributor Author

@jkroepke updated, can be right now merged?

@jkroepke

Copy link
Copy Markdown
Contributor

Unfortunately, i do not have merge power. But the PR is marked as LGTM, internal loki team take care soon.

@JStickler

Copy link
Copy Markdown
Contributor

@iamhalje If you could get the merge conflict resolved in the CHANGELOG I can get this merged.

@iamhalje

Copy link
Copy Markdown
Contributor Author

@JStickler hi, updated

@JStickler
JStickler merged commit 078f353 into grafana:main Jul 14, 2025
75 checks passed
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

5 participants