Skip to content
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

fix: console servicemonitor labels improved #131

Closed
wants to merge 1 commit into from

Conversation

marnas
Copy link
Contributor

@marnas marnas commented Nov 18, 2024

Fix for labels' parse when the chart is referenced as a dependency or sub-chart (i.e. umbrella chart)

Resolves #128

Comment on lines +8 to +9
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.platform.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
Copy link
Member

Choose a reason for hiding this comment

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

do we have the same label rendering issue for other resources as well ? if yes, can you include fix for other resources labels in this PR please ?

@marnas
Copy link
Contributor Author

marnas commented Nov 19, 2024

After further inspection I noticed this issue had already been addressed by #122 which was merged on the 17th Oct.

Our latest release 1.13.0 is dated 15th Oct which is why the issue still presents itself. Closing as not needed anymore

@marnas marnas closed this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] ServiceMonitor labels doesn't marshal with umbrella chart
2 participants