Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add incident.io support to am config secret#8190

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
heliapb wants to merge2 commits intoprometheus-operator:main
base:main
Choose a base branch
Loading
fromheliapb:feat/add_incidentio_config

Conversation

@heliapb
Copy link
Member

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.

Closes: #ISSUE-NUMBER

If you're contributing for the first-time, check ourcontribution guidelines.

Type of change

What type of changes does your code introduce to the Prometheus operator? Put anx 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 thePrometheus-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.

returnrc.HTTPConfig.sanitize(amVersion,logger)
}

func (ic*incidentioConfig)sanitize(amVersion semver.Version,logger*slog.Logger)error {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we validate URLs too?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

hi could you pls clarify, since for this config I added both URL and URL file and have the check for enforcing one's configured, followinghttps://github.com/prometheus/alertmanager/blob/main/config/notifiers.go#L607.

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry for being dense, I meant that we can validate that the URL value is valid?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

ahhhh sorry, do you meant with ValidateURL? added that let me know if that or if I misunderstood. thanks

Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com>
Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com>
@heliapbheliapbforce-pushed thefeat/add_incidentio_config branch from308e07f to462cea5CompareDecember 18, 2025 15:05
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@simonpasquiersimonpasquiersimonpasquier left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@heliapb@simonpasquier

[8]ページ先頭

©2009-2025 Movatter.jp