diff --git a/database-system/cnpg/values.yaml b/database-system/cnpg/values.yaml index 83e5924..835ca44 100644 --- a/database-system/cnpg/values.yaml +++ b/database-system/cnpg/values.yaml @@ -32,8 +32,15 @@ webhook: # Monitoring monitoring: - # Enable PodMonitor for Prometheus - podMonitorEnabled: true + # Disable PodMonitor (requires Prometheus Operator) + # Use annotation-based scraping instead + podMonitorEnabled: false + +# Add Prometheus scrape annotations to pods +podAnnotations: + prometheus.io/scrape: "true" + prometheus.io/port: "9187" + prometheus.io/path: "/metrics" # Resource limits (adjust based on your needs) resources: