-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[tempo-distributed] Adding commonLabels for tempo-distributed HC. With this we'll be able to add labels to all K8S resources the chart is creating. #3909
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
Conversation
|
@tincho-burgos why not merge the logic to the tempo.labels? |
|
It thought about that, but if I want to have some labels for expense tracking purposes, it wouldn't make sense to have those as part of the labels selectors. |
|
Hi @Sheikh-Abubaker @BitProcessor @faustodavid, |
|
Hi @Sheikh-Abubaker @BitProcessor @faustodavid @swartz-k, |
51c19d5 to
c582fe7
Compare
Can you please take a look at it? @Sheikh-Abubaker @BitProcessor @faustodavid @swartz-k |
|
Can you please take a look at it? @Sheikh-Abubaker @BitProcessor @faustodavid @swartz-k |
d0016a7 to
a9f8e0e
Compare
|
Can you please take a look at it? @Sheikh-Abubaker @BitProcessor @faustodavid @swartz-k |
07b128d to
74ad534
Compare
|
Can you please take a look at it? @Sheikh-Abubaker @BitProcessor @faustodavid @swartz-k |
11385f9 to
3f24f1d
Compare
|
@tincho-burgos this is a good idea but I probably would have only updated the helpers file by adding the common Label in the |
|
@tincho-burgos Thanks for your contribution! it looks great, before we could proceed to merging it, I would like to elaborate on @QuentinBisson's above #3909 (comment)
|
|
@Sheikh-Abubaker in that case, would it not be better to define global.labels and global.podLabels instead of customLabels? This is a breaking change though |
I guess so, could you elaborate more ? |
|
First of, this would make this chart use the same patterns for label as the Loki and Mimir helm charts which provides the global.podLabels and global.podAnnotations fields. Those are useful, specifically in the context of subcharts because those are also passed around. For instance, I would find it useful to add tempo culture as a subchart. Following this global pattern would ensure that subcharts could use those labels as well |
That's even better as it aligns with loki and mimir charts maintaining consistency, more simpler for umbrella chart scenarios and aligns well with this PR's scope as well! sounds good to me! |
Signed-off-by: Sean Ringel <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
Signed-off-by: Sean Ringel <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
…#3977) Co-authored-by: Sheikh-Abubaker <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
Signed-off-by: hwwi <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
…d annotations Signed-off-by: Sean Ringel <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
Signed-off-by: Sean Ringel <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
Co-authored-by: Sheikh-Abubaker <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
Signed-off-by: Quentin Bisson <[email protected]> Signed-off-by: Martin Burgos <[email protected]>
dd0cae8 to
4c0bcb0
Compare
…uted Signed-off-by: Martin Burgos <[email protected]>
c2f239e to
1d3c0ad
Compare
|
Hey @QuentinBisson @Sheikh-Abubaker, Just to confirm I made the changes and bumped the chart version. |
@tincho-burgos Thank you for the changes, look good to me! I just merged a PR so you'd need to bump version again. |
Signed-off-by: Martin Burgos <[email protected]>
9400bf3 to
cbe41ab
Compare
…uted Signed-off-by: Martin Burgos <[email protected]>
|
@Sheikh-Abubaker Done! |
|
@tincho-burgos Here's the trailing space, just get rid of it to fix failing CI |
Signed-off-by: Martin Burgos <[email protected]>
|
@Sheikh-Abubaker Done! Apologies for that, I missed the |
Signed-off-by: Martin Burgos <[email protected]>
|
@Sheikh-Abubaker , I have added an if to bypass the error if it's empty.
|
Signed-off-by: Martin Burgos <[email protected]>
|
@Sheikh-Abubaker it should work now. |
Signed-off-by: Martin Burgos <[email protected]>
That wouldn't help because it wasn't a helm-charts/charts/tempo-distributed/templates/query-frontend/service-query-frontend.yaml Line 7 in 8e94633
|
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!
|
@Sheikh-Abubaker Thanks for the help! |
Enabling the tempo-distributed HelmChart to have commonLabels that will be added to all K8S created.
Signed-off-by: Martin Burgos [email protected]