tritruong
tritruong
I'm using sidecar to run postgres_exporter. The config look like this ``` apiVersion: "acid.zalan.do/v1" kind: postgresql spec: ... sidecars: - name: "prometheus-postgres-exporter" image: "wrouesnel/postgres_exporter:v0.4.7" env: - name: "PG_EXPORTER_EXTEND_QUERY_PATH" value: "/etc/config.yaml"...
@Jan-M Yes, I could use mount secret file. Is there any way I could do to disable the default environment variables that always passed to sidecars (POSTGRES_USER and POSTGRES_PASSWORD)? https://github.com/zalando/postgres-operator/blob/31e568157b336592debbb37f2c44c1ca1769c00d/docs/user.md#sidecar-support