prometheus-operator icon indicating copy to clipboard operation
prometheus-operator copied to clipboard

Refactor controller

Open simonpasquier opened this issue 3 years ago • 0 comments

Description

This change extracts the code that watches statefulset-based resources and deals with state reconciliation. The PR reuses the same logic across Prometheus, Alertmanager and ThanosRuler which would facilitate the implementation of the status subresource for all of them.

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)
  • [X] 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.


simonpasquier avatar Aug 01 '22 16:08 simonpasquier