feat(plugin): add Kubernetes events for improved observability#10040
Merged
leonardoce merged 1 commit intomainfrom Mar 6, 2026
Merged
feat(plugin): add Kubernetes events for improved observability#10040leonardoce merged 1 commit intomainfrom
leonardoce merged 1 commit intomainfrom
Conversation
230e157 to
98b0198
Compare
2 tasks
armru
approved these changes
Feb 23, 2026
Contributor
|
/test |
Contributor
|
@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/22718907337 |
ea809c5 to
0d654cd
Compare
98b0198 to
93bc660
Compare
Contributor
|
/test |
Contributor
|
@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/22754749960 |
Contributor
|
I tested it manually, it works perfectly fine. Let's see if the E2e tests agree with me. |
93bc660 to
6a338e2
Compare
6a338e2 to
63b4381
Compare
Emit events at key points in the plugin lifecycle to improve user experience. Users can now see plugin registration status, configuration errors, and cleanup progress directly on the service resource using kubectl describe, rather than having to check operator logs. Events are emitted for successful operations (finalizer added, plugin registered, cleanup started) and failures (missing secrets, invalid certificates, registration errors). Error events include actionable details to help troubleshooting. Closes #10041 Signed-off-by: Marco Nenciarini <[email protected]>
63b4381 to
662bef9
Compare
leonardoce
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emit events at key points in the plugin lifecycle to improve user experience. Users can now see plugin registration status, configuration errors, and cleanup progress directly on the service resource using kubectl describe, rather than having to check operator logs.
Events are emitted for successful operations (finalizer added, plugin registered, cleanup started) and failures (missing secrets, invalid certificates, registration errors). Error events include actionable details to help troubleshooting.
Closes #10041