-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Helm: Add service labels and annotations #10214
Helm: Add service labels and annotations #10214
Conversation
d3e4c3d
to
b98f265
Compare
427d3b1
to
d84668a
Compare
Is this going to be reviewed soon? We are waiting for this functionality. |
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.
LGTM, Thanks for contributing!
c0977ce
to
bc2759d
Compare
@rubenvw-ngdata Thanks for this contribution. Can you fix the issues raised by CI? |
@rubenvw-ngdata Also, can you use version 5.17? That would help with some another PR waiting to be merged. |
@rubenvw-ngdata I updated this but have encountered a problem. I'll come back to this tomorrow. |
@MichelHollands Any update on this? Anything I should still do? |
@rubenvw-ngdata Sorry, I'm busy with some other things. Can you check why the CI run fails? If that is fixed it can be merged. |
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.
The templates are currently failing to render, at least with ci/default-values.yaml
. Are you able to run a helm template
locally using those values? I've tried and it fails, seems to be a problem with the format of the yaml templates as I keep getting the error converting YAML to JSON
error.
production/helm/loki/templates/backend/service-backend-headless.yaml
Outdated
Show resolved
Hide resolved
production/helm/loki/templates/backend/service-backend-headless.yaml
Outdated
Show resolved
Hide resolved
@trevorlauder I think the helm template issue is an issue that was recently introduced on main. |
@rubenvw-ngdata You are right: it was a problem on the main branch. It is failing for a different reason now. |
862a65f
to
0366ead
Compare
Support setting labels and annotations for all services in the Helm chart. Move label configuration for read, write and table manager services to #component.service.labels to improve consistency between components.
0366ead
to
9bc1c84
Compare
@trevorwhitney @MichelHollands I think everything is ok now. Let me know if I should do anything else. |
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.
LGTM
The requested changes were applied. Dismissing so I can merge.
@rubenvw-ngdata Thanks for your help and sorry for the hold-up. It is merged now. |
**What this PR does / why we need it**: Support setting labels and annotations for all services in the Helm chart. Move label configuration for read, write and gateway services to #component.service.labels to improve consistency between services. **Which issue(s) this PR fixes**: Fixes grafana#8627 **Special notes for your reviewer**: **Checklist** - [x] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [x] `CHANGELOG.md` updated - [x] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](grafana@d10549e)
**What this PR does / why we need it**: Support setting labels and annotations for all services in the Helm chart. Move label configuration for read, write and gateway services to #component.service.labels to improve consistency between services. **Which issue(s) this PR fixes**: Fixes grafana#8627 **Special notes for your reviewer**: **Checklist** - [x] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [x] `CHANGELOG.md` updated - [x] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](grafana@2cef71e)
What this PR does / why we need it:
Support setting labels and annotations for all services in the Helm chart.
Move label configuration for read, write and gateway services to #component.service.labels to improve
consistency between services.
Which issue(s) this PR fixes:
Fixes #8627
Special notes for your reviewer:
Checklist
CONTRIBUTING.md
guide (required)CHANGELOG.md
updatedproduction/helm/loki/Chart.yaml
and updateproduction/helm/loki/CHANGELOG.md
andproduction/helm/loki/README.md
. Example PR