Postgres pods custom annotations

Hi,
Need to pass custom annotations to Postgres pods so that velero backup tool could do full backups (including storage)

One finding, if add in crd “pgclusters.pg.percona.com” required annotation line it will do what is required

k get pgclusters.pg.percona.com test-db-pg-db -oyaml|grep global -A 3
    global:
      backup.velero.io/backup-volumes: pgdata
      keep-backups: "false"
      keep-data: "true"
      
// Pods are immediate restarted with annotations included

k get pod pod-name -oyaml |grep annotations: -A 1
  annotations:
    backup.velero.io/backup-volumes: pgdata

Please advise how to add annotations using helm deployment
Helm charts used

Thanks in advance

Hello @VNuser ,

which version of the operator are you using? if you are just starting, I would recommend using v2 (Percona Operator for PostgreSQL)

Hi @Sergey_Pronin,

Thanks for quick response, it looks like we are using older version 1.4.0

Actually we are using it for a while could be 3-4 month, this annotation question rise due to velero tool introduction!

Latest version is capable of doing this?

Thanks
Vitaly