postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Extra annotations only on leader pod

Open bck01215 opened this issue 1 year ago • 1 comments

  • Which image of the operator are you using? e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.11.0
  • Where do you run it EKS
  • Are you running Postgres Operator in production? [yes | no] yes
  • Type of issue? [Bug report, question, feature request, etc.] question/feature request

I want to add specific additional annotations to the leader pod. I know there is a label that gets automatically attached but for other custom integrations it would be useful to add my own labels only to the leader pod

bck01215 avatar Apr 12 '24 01:04 bck01215

You would need extra manifest and/or config options to support this. This has been implemented for services and you could check #2161 how it was done to craft your own PR.

FxKu avatar Apr 24 '24 06:04 FxKu