Unable to run sidecar with pgBouncer

Description:

Trying to add a sidecar to the pgBouncer pods. However the pod is not recognizing the sidecar.

Steps to Reproduce:

Added the sidecar:
proxy:
pgBouncer:
replicas: 3
image: percona/percona-postgresql-operator:2.3.1-ppg16-pgbouncer
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
postgres-operator.crunchydata.com/role: pgbouncer
topologyKey: kubernetes.io/hostname
weight: 1
sidecars:
- name: pgbouncer-exporter
image: “Quay

Version:

percona-postgresql-operator:2.3.1

Logs:

Logs have no mention of pulling the image for the sidecar

Expected Result:

I would expect the sidecar to be running

Hey @jbolin ,

sorry it took so long. We did a deeper dive into it and can confirm that it is a bug.
Created this JIRA issue: [K8SPG-645] - Percona JIRA

1 Like

Thanks for the follow up!