8000 Fix: fix time.ParseDuration bug by dongjiang1989 · Pull Request #7249 · prometheus-operator/prometheus-operator · GitHub
[go: up one dir, main page]

Skip to content

Conversation

dongjiang1989
Copy link
Member
@dongjiang1989 dongjiang1989 commented Jan 2, 2025

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.

Close: #7245

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

fix time.ParseDuration bug

Signed-off-by: dongjiang <dongjiang1989@126.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
@dongjiang1989
Copy link
Member Author

/cc @simonpasquier @slashpai PTAL

Copy link
Contributor
@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

sorry for the late review! I think that the check needs to happen in checkPushoverConfigs() (called from checkAlertmanagerConfigResource()).

Signed-off-by: dongjiang <dongjiang1989@126.com>
@pull-request-size pull-request-size bot added size/L and removed size/M labels Feb 6, 2025
@dongjiang1989
Copy link
Member Author
dongjiang1989 < 8000 /strong> commented Feb 6, 2025

sorry for the late review! I think that the check needs to happen in checkPushoverConfigs() (called from checkAlertmanagerConfigResource()).

Thanks @simonpasquier
I got it. Added check done.

@nicolastakashi
Copy link
Contributor

@dongjiang1989 can you check failing tests please?

Signed-off-by: dongjiang <dongjiang1989@126.com>
@dongjiang1989
Copy link
Member Author

@dongjiang1989 can you check failing tests please?

Thanks @nicolastakashi
Fixed

Copy link
Contributor
@nicolastakashi nicolastakashi left a comment

Choose a reason for hiding this comment

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

Waiting last review from @simonpasquier

@acolombier
Copy link

Any update on this fix? Is there some nightly docker image that can be used to patch kube-prometheus-stack chart? I kept pushover off since upgrading to 67.5 but wondering if I should consider a rollback or if this fix should make its way to main fairly soon?

@dongjiang1989
Copy link
Member Author

cc @simonpasquier @slashpai PTAL

Copy link
Contributor
@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

thanks!

@simonpasquier simonpasquier merged commit 4ddd256 into prometheus-operator:main Mar 11, 2025
23 checks passed
@dongjiang1989 dongjiang1989 deleted the update-pushover-config branch March 11, 2025 08:25
hoperays pushed a commit to hoperays/prometheus-operator that referenced this pull request Sep 10, 2025
* fix time.ParseDuration bug

Signed-off-by: dongjiang <dongjiang1989@126.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AlertManagerConfig - PushoverConfig Expire and Retry Settings Units Missing
4 participants
0