fix(atlantis): Add podMonitor cnpg
This commit is contained in:
@@ -66,4 +66,15 @@ spec:
|
|||||||
- ALTER USER app WITH SUPERUSER;
|
- ALTER USER app WITH SUPERUSER;
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- 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 }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user