Postgres Kubernetes Helm chart fails when istio enabled

I have installed istio in my aks cluster and enabled it to a namespace called database as below.

kubectl label namespace database istio-injection=enabled

I need to install helm3 posgress database into database namespace.

helm install pg-db bitnami/postgresql-ha --version=2.0.1 -n database

few seconds database starting to fails because the database pod is not considered healthy.

when I disable adding sidecar into database as below it doesn’t restart. How can I run this helm chart without disabling sidecar

podAnnotations:
    sidecar.istio.io/inject: "false"

pg-db-postgresql-ha-pgpool logs

1 Like