Skip to content

Commit

Permalink
Add honorLabels to keda operator and metricsserver ServiceMonitor (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlemaes authored May 1, 2023
1 parent 6fb43a1 commit 1a56c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions keda/templates/17-keda-servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
{{- with .Values.prometheus.operator.serviceMonitor.targetPort }}
targetPort: {{ . }}
{{- end }}
honorLabels: true
path: /metrics
{{- with .Values.prometheus.operator.serviceMonitor.interval }}
interval: {{ . }}
Expand Down
1 change: 1 addition & 0 deletions keda/templates/27-metrics-servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
targetPort: {{ . }}
{{- end }}
path: {{ .Values.prometheus.metricServer.path }}
honorLabels: true
{{- with .Values.prometheus.metricServer.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
Expand Down

0 comments on commit 1a56c48

Please sign in to comment.