Skip to content

Conversation

jsierles
Copy link

@jsierles jsierles commented Feb 11, 2025

This is a development branch for merging fixes into. This is where we should take releases for testing in FKS clusters.

if pgbackrest := postgresCluster.Spec.Backups.PGBackRest; pgbackrest.RepoHost != nil &&
len(pgbackrest.RepoHost.Sidecars) > 0 {
// Add each sidecar container to the pod spec
repo.Spec.Template.Spec.Containers = append(
Copy link
Member

@senyosimpson senyosimpson Mar 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw, you'd actually want to add this to initContainers and have a restart policy set to Always for the container. that ensures it actually starts before the main program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants