fix(atlantis): Add podMonitor cnpg

This commit is contained in:
2025-11-14 14:42:32 +01:00
parent cf29646dad
commit b83ba2d57a
+11
View File
@@ -66,4 +66,15 @@ spec:
- ALTER USER app WITH SUPERUSER;
{{- end }}
{{- end }}
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "Atlantis.fullname" . }}-db-monitor
spec:
selector:
matchLabels:
cnpg.io/cluster: {{ include "Atlantis.fullname" . }}-db
podMetricsEndpoints:
- port: metrics
{{- end }}