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

Add alertmanager variable to choose the endpoint version of alertmanager api #282

Conversation

mathildeHermet
Copy link
Contributor

@mathildeHermet mathildeHermet commented Nov 18, 2021

Signed-off-by: Mathilde Hermet mathildehermet94260@gmail.com

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area config

What this PR does / why we need it:

There are two versions of Alertmanager endpoint to post alerts: v1 and v2.
Previously, this endpoint was hardcoded with v1.
As a result, an upgrade of Alertmanager might leads to an impossible communication between Falcosidekick and Alertmanager.

Which issue(s) this PR fixes:

Fixes #280

…ger api

Signed-off-by: Mathilde Hermet <mathildehermet94260@gmail.com>
@mathildeHermet mathildeHermet force-pushed the add_choice_api_version_alertmanager branch from 30612e8 to 4b09f4b Compare November 18, 2021 13:46
@Issif Issif self-assigned this Nov 19, 2021
Copy link
Member

@Issif Issif left a comment

Choose a reason for hiding this comment

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

nothing to say, everything is there, thank you

@poiana poiana added the lgtm label Nov 19, 2021
@poiana
Copy link

poiana commented Nov 19, 2021

LGTM label has been added.

Git tree hash: aad54bbdb0ac40d007ac145de0e5a128771db988

@poiana
Copy link

poiana commented Nov 19, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif, mathildeHermet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit cefd9b8 into falcosecurity:master Nov 19, 2021
@Issif Issif added this to In progress in 2.x via automation Mar 2, 2022
@Issif Issif added this to the 2.25.0 milestone Mar 2, 2022
@Issif Issif moved this from In progress to Done in 2.x Apr 26, 2022
@Issif Issif mentioned this pull request May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
2.x
Done
Development

Successfully merging this pull request may close these issues.

Alertmanager POST api endpoint should not be hardcoded
3 participants