Skip to content

fix(metrics): add injection type to operator#776

Open
kruton wants to merge 1 commit intocloudnative-pg:mainfrom
kruton:injection-bug
Open

fix(metrics): add injection type to operator#776
kruton wants to merge 1 commit intocloudnative-pg:mainfrom
kruton:injection-bug

Conversation

@kruton
Copy link

@kruton kruton commented Mar 5, 2026

The operator was not announcing the TYPE_INSTANCE_SIDECAR_INJECTION capability so the CNPG operator was not considering the plugin enabled. However, this bug was masked if you had set isWALArchiver to true in your config, the backward compatibility code was marking the plugin as enabled as a side-effect.

Fixes #682

The operator was not announcing the TYPE_INSTANCE_SIDECAR_INJECTION
capability so the CNPG operator was not considering the plugin enabled.
However, this bug was masked if you had set `isWALArchiver` to `true`
in your config, the backward compatibility code was marking the plugin
as enabled as a side-effect.

Signed-off-by: Kenny Root <kenny@the-b.org>
@kruton kruton requested a review from a team as a code owner March 5, 2026 22:37
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New observability metrics are not available

1 participant