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(cluster): correct CNPGClusterOffline rule description #429

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

mymasse
Copy link
Contributor

@mymasse mymasse commented Oct 29, 2024

Use namespace/cluster instead of labels.job which is not returned in the expression.

Fixes: #428

@mymasse mymasse requested a review from itay-grudev as a code owner October 29, 2024 12:32
@itay-grudev
Copy link
Collaborator

Would you be able to patch these files as well, for consistency?
Also can you ammend your commit and include a --signoff for the DCO check.

@mymasse
Copy link
Contributor Author

mymasse commented Nov 7, 2024

Both cluster-ha-critical.yaml and cluster-ha-warning.yaml will work as is because {{ .labels.job }} does exist.

Do you want me to modify them anyways to make it consistent with the others?

@mymasse mymasse force-pushed the main branch 2 times, most recently from 5e3e9d0 to b80e29f Compare November 7, 2024 13:06
Use `namespace/cluster` instead of `labels.job` which is not returned in
the expression.

Fixes: cloudnative-pg#428
Signed-off-by: Mathieu Masse <[email protected]>
@itay-grudev
Copy link
Collaborator

@mymasse No. It's fine. Thank you very much.

@itay-grudev itay-grudev merged commit fb45e4f into cloudnative-pg:main Nov 8, 2024
4 checks passed
yremmet pushed a commit to yremmet/charts that referenced this pull request Dec 9, 2024
…e-pg#429)

Use `namespace/cluster` instead of `labels.job` which is not returned in
the expression.

Fixes: cloudnative-pg#428

Signed-off-by: Mathieu Masse <[email protected]>
hapeho pushed a commit to hapeho/cloudnative-pg-charts that referenced this pull request Dec 18, 2024
…e-pg#429)

Use `namespace/cluster` instead of `labels.job` which is not returned in
the expression.

Fixes: cloudnative-pg#428

Signed-off-by: Mathieu Masse <[email protected]>
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.

Prometheus rule CNPGCLusterOffline doesn't display the cluster name
2 participants