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 OpsGenieAPIURL OpsGenieAPIKey to global config #5422

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

mcbenjemaa
Copy link
Contributor

@mcbenjemaa mcbenjemaa commented Mar 19, 2023

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.

This PR add support for OpsGenieAPIKey/OpsGenieAPIURL in the global config

This will Add:

  • spec.alertmanagerConfiguration.global.opsGenieApiUr
  • spec.alertmanagerConfiguration.global.opsGenieApiKey

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.)

Changelog entry

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

Adds  `spec.alertmanagerConfiguration.global.opsGenieApiUrl` and `spec.alertmanagerConfiguration.global.opsGenieApiKey` to the `Alertmanager` CRD

cc @simonpasquier

@mcbenjemaa mcbenjemaa requested a review from a team as a code owner March 19, 2023 17:41
@mcbenjemaa
Copy link
Contributor Author

Why e2e is failing?

Copy link
Contributor

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

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

lgtm

@JoaoBraveCoding
Copy link
Contributor

Failed CI might have been a flake, unfortunately, I don't have permissions to re-run it

@mcbenjemaa
Copy link
Contributor Author

not merged yet?

@simonpasquier simonpasquier merged commit a9206d6 into prometheus-operator:main Mar 21, 2023
@simonpasquier
Copy link
Contributor

Thanks!

@mcbenjemaa mcbenjemaa deleted the global-opsgenie branch March 21, 2023 10:49
sthaha added a commit to sthaha/prometheus-operator that referenced this pull request Jun 19, 2023
This commit partially address prometheus-operator#5422 by refactoring server and agent
operator code that updates the prometheus config secrets. It moves the
common functionalities to pkg/prometheus (prompkg).

The refactor adds the following functions

Store Related
  * AddRemoteWritesToStore
  * AddRemoteReadToStore
  * AddAPIServerConfigToStore

Operator Related
  * MakeCompressedSecretForPrometheus

GH: prometheus-operator#5455

Signed-off-by: Sunil Thaha <sthaha@redhat.com>
sthaha added a commit to sthaha/prometheus-operator that referenced this pull request Jun 19, 2023
This commit partially address prometheus-operator#5422 by refactoring server and agent
operator code that updates the prometheus config secrets. It moves the
common functionalities to pkg/prometheus (prompkg).

The refactor adds the following functions

Store Related
  * AddRemoteWritesToStore
  * AddRemoteReadToStore
  * AddAPIServerConfigToStore

Operator Related
  * MakeCompressedSecretForPrometheus

GH: prometheus-operator#5455

Signed-off-by: Sunil Thaha <sthaha@redhat.com>
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.

None yet

3 participants