percona-postgresql-operator icon indicating copy to clipboard operation
percona-postgresql-operator copied to clipboard

Pass PerconaPGCluster.PGPrimary.Annotations to Pgcluster.Annotations.Postgres

Open VoroAndjaro opened this issue 3 years ago • 1 comments

Currently PGPrimary.Annotations are ignored. Both PGPrimary and Pgcluster specs allow them, but the controller is not forwarding them. Only Global Annotations are passed from PerconaPGCluster to Pgcluster

This patch allows the Annotations in PerconaPGCluster.PGPrimary to be propagated to Primary and Replica Deployment Pods.

VoroAndjaro avatar Sep 26 '22 13:09 VoroAndjaro

Test name Status
demand-backup passed
init-deploy passed
scheduled-backup passed
version-service failed
scaling passed
recreate passed
affinity passed
upgrade passed
monitoring passed
smart-update passed
self-healing passed
operator-self-healing passed
clone-cluster passed
tls-check passed
users passed
ns-mode passed
We run 16 out of 16

commit: https://github.com/percona/percona-postgresql-operator/pull/301/commits/6fb2f539877f83fd969bfd8fe9a1cf55ab631de9 image: perconalab/percona-postgresql-operator:PR-301-6fb2f539-pgo-apiserver

image: perconalab/percona-postgresql-operator:PR-301-6fb2f539-pgo-event

image: perconalab/percona-postgresql-operator:PR-301-6fb2f539-pgo-rmdata

image: perconalab/percona-postgresql-operator:PR-301-6fb2f539-pgo-scheduler

image: perconalab/percona-postgresql-operator:PR-301-6fb2f539-postgres-operator

image: perconalab/percona-postgresql-operator:PR-301-6fb2f539-pgo-deployer

JNKPercona avatar Oct 04 '22 08:10 JNKPercona

Closing this because https://github.com/percona/percona-postgresql-operator/pull/320 has already been merged to main

VoroAndjaro avatar Dec 20 '22 13:12 VoroAndjaro