Skip to content

Conversation

@GabriFedi97
Copy link

@GabriFedi97 GabriFedi97 commented Nov 10, 2025

Include Sidecar containers when validating the existence of the target containers configured for the Backup Hooks.

Does your change fix a particular issue?

Fixes #9393

Please indicate you've done the following:

@GabriFedi97 GabriFedi97 force-pushed the fix/hooks-on-sidecars branch 3 times, most recently from 252a51a to 688327c Compare November 10, 2025 14:41
@GabriFedi97 GabriFedi97 changed the title Fix/hooks on sidecars feat: support backup hooks on native sidecars Nov 10, 2025
@GabriFedi97
Copy link
Author

Do we need to update the documentation for this patch? The Backup Hooks documentation section currently refers to containers in a general manner. Should we explicitly distinguish between main and sidecar containers?

@GabriFedi97 GabriFedi97 marked this pull request as ready for review November 10, 2025 14:58
@GabriFedi97 GabriFedi97 force-pushed the fix/hooks-on-sidecars branch from 688327c to cf9900e Compare November 10, 2025 15:01
blackpiglet
blackpiglet previously approved these changes Dec 10, 2025
Add support for configuring Kubernates native
Sidecars as target containrs for Backup Hooks
commands. This is purely a validation level
patch as the actual pods/exec API doesn't make
any distinction between standard and sidecar
containers.

Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
@blackpiglet blackpiglet force-pushed the fix/hooks-on-sidecars branch from cf9900e to 181797d Compare December 10, 2025 06:20
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.20%. Comparing base (c594026) to head (0fc8460).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9403   +/-   ##
=======================================
  Coverage   60.19%   60.20%           
=======================================
  Files         386      386           
  Lines       35925    35934    +9     
=======================================
+ Hits        21624    21633    +9     
  Misses      12720    12720           
  Partials     1581     1581           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backup hooks fail on Sidecar Containers

2 participants