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

storage_alerts: cluster label is optional #887

Conversation

jan--f
Copy link
Contributor

@jan--f jan--f commented Jan 8, 2024

This commit make printing the cluster label in the storage alerts optional based on the label being present or not. If no cluster label is set, the phrase {{ with $labels.%(clusterLabel)s -}} on Cluster is left out of the alert description.

This commit make printing the `cluster` label in the storage alerts
optional based on the label being present or not. If no `cluster` label is
set, the phrase ` {{ with $labels.%(clusterLabel)s -}} on Cluster ` is
left out of the alert description.

Signed-off-by: Jan Fajerski <[email protected]>
@jan--f
Copy link
Contributor Author

jan--f commented Jan 8, 2024

cc @jkroepke @povilasv This relates to #885 .

@jan--f
Copy link
Contributor Author

jan--f commented Jan 25, 2024

@povilasv Kindly requesting you 👁️ on this.

@povilasv povilasv merged commit bf3acbd into kubernetes-monitoring:master Jan 26, 2024
5 of 6 checks passed
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.

3 participants