-
Notifications
You must be signed in to change notification settings - Fork 3.8k
fix(helm): FOLDER_ANNOTATION in ruler & single-binary #19593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me as the feature is extended to distributed and single-binary modes as well, @Jayclifford345 @JStickler could you please have a look ?
| Entries should include a reference to the pull request that introduced the change. | ||
|
|
||
| ## Unreleased | ||
| - [BUGFIX] Set `FOLDER_ANNOTATION` in Distributed and SingleBinary deployments. [#19593](https://github.com/grafana/loki/pull/19593) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - [BUGFIX] Set `FOLDER_ANNOTATION` in Distributed and SingleBinary deployments. [#19593](https://github.com/grafana/loki/pull/19593) | |
| - [ENHANCEMENT] Set `FOLDER_ANNOTATION` in Distributed and SingleBinary deployments. [#19593](https://github.com/grafana/loki/pull/19593) |
I believe this could be categorised as enhancement ? since it's not really a bug rather extending the feature to the different deployment modes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My reasoning was that the enhancement was #13289, but happy to switch the category - whatever you and other maintainers think
What this PR does / why we need it:
#13289 added a chart value (
sidecar.rules.folderAnnotation) that setsFOLDER_ANNOTATIONon the rules sidecar. However, it only sets that environment variable on loki-backend in SimpleScalable mode.This PR sets
FOLDER_ANNOTATIONeven in SIngleBinary and Distributed deployment modesWhich issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Checklist
CONTRIBUTING.mdguide (required)featPRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.docs/sources/setup/upgrade/_index.mddeprecated-config.yamlanddeleted-config.yamlfiles respectively in thetools/deprecated-config-checkerdirectory. Example PR