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: use metadata informer for agent controller #5982

Conversation

simonpasquier
Copy link
Contributor

Description

The Prometheus agent controller didn't use the metadata informer for secrets and configmaps as implemented in #5424 and #5448 for the other controllers.

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.

Reduce memory usage in the Prometheus agent controller.

@simonpasquier simonpasquier force-pushed the use-metadata-informers-for-agent branch 3 times, most recently from 6986ea7 to 7fb4ac5 Compare October 10, 2023 14:41
@pull-request-size pull-request-size bot added size/M and removed size/S labels Oct 10, 2023
The Prometheus agent controller didn't use the metadata informer for
secrets and configmaps as implemented in prometheus-operator#5424 and prometheus-operator#5448 for the other
controllers.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
@simonpasquier simonpasquier force-pushed the use-metadata-informers-for-agent branch from 7fb4ac5 to 809f938 Compare October 10, 2023 14:56
@simonpasquier simonpasquier merged commit 2abc7f1 into prometheus-operator:main Oct 10, 2023
17 checks passed
@simonpasquier simonpasquier deleted the use-metadata-informers-for-agent branch October 11, 2023 06:35
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.

None yet

2 participants