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 Reconciliation errors when PromRule/ConfigMap doesn't exist #993

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

ArthurSens
Copy link
Contributor

Fixes #992

There was an else missing after checking if err != not found in the prometheusRule/configMap reconciliation loop.

Additionally, I'm standardizing the error messages between PrometheusRule and ConfigMap errors

Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

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

Oops. Thank you for finding and fixing that.
Can we update the branch to merge this into to release-0.7? That would be fantastic!

@ArthurSens ArthurSens changed the base branch from main to release-0.7 December 6, 2023 16:39
@ArthurSens ArthurSens changed the base branch from release-0.7 to main December 6, 2023 16:39
Signed-off-by: Arthur Silva Sens <[email protected]>
(cherry picked from commit fad4f84)
@ArthurSens ArthurSens changed the base branch from main to release-0.7 December 6, 2023 16:41
@ArthurSens
Copy link
Contributor Author

done!

@metalmatze
Copy link
Member

Awesome! 🎉

@metalmatze metalmatze merged commit 83b0b8b into pyrra-dev:release-0.7 Dec 6, 2023
10 checks passed
@ArthurSens ArthurSens deleted the fix-992 branch December 6, 2023 18:41
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.

Reconcile errors "prometheus rule not found"
2 participants