diff --git a/charts/cloudnative-pg/values.yaml b/charts/cloudnative-pg/values.yaml index 9faf8ec0c..8b7fb4e73 100644 --- a/charts/cloudnative-pg/values.yaml +++ b/charts/cloudnative-pg/values.yaml @@ -244,6 +244,7 @@ monitoringQueriesConfigMap: description: "Time at which postgres started (based on epoch)" pg_replication: + primary: true query: "SELECT CASE WHEN NOT pg_catalog.pg_is_in_recovery() THEN 0 ELSE GREATEST (0,