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: endpoints:
- honorLabels: false - honorLabels: false
path: /metrics path: /metrics
port: http port: {{ .Values.serviceMonitor.port | default "http" }}
jobLabel: {{ .Values.serviceMonitor.label | default (include "Atlantis.fullname" .) }} jobLabel: {{ .Values.serviceMonitor.label | default (include "Atlantis.fullname" .) }}
namespaceSelector: namespaceSelector:
matchNames: matchNames:
+1
View File
@@ -155,6 +155,7 @@ autoscaling:
serviceMonitor: serviceMonitor:
enabled: true enabled: true
port: 9091
nodeSelector: {} nodeSelector: {}
tolerations: [] tolerations: []