feat: make servicemonitor port configurable

This commit is contained in:
2024-12-19 15:27:16 +01:00
parent 4d9c401ab8
commit 3a49ef6c53
2 changed files with 2 additions and 1 deletions
@@ -8,7 +8,7 @@ spec:
endpoints:
- honorLabels: false
path: /metrics
port: http
port: {{ .Values.serviceMonitor.port | default "http" }}
jobLabel: {{ .Values.serviceMonitor.label | default (include "Atlantis.fullname" .) }}
namespaceSelector:
matchNames:
+1
View File
@@ -155,6 +155,7 @@ autoscaling:
serviceMonitor:
enabled: true
port: 9091
nodeSelector: {}
tolerations: []