Skip to content

Commit

Permalink
fix: Ensure ServiceMonitor.spec.endpoints[0].port is a string
Browse files Browse the repository at this point in the history
Failing to pass kubeconform checks internally

Signed-off-by: Connor Hindley <connor.hindley@tanium.com>
  • Loading branch information
connyay authored Jan 3, 2025
1 parent 1a215fc commit 67b5718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/backstage/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
matchLabels: {{ include "common.labels.standard" . | nindent 6 }}
app.kubernetes.io/component: backstage
endpoints:
- port: {{ .Values.metrics.serviceMonitor.port }}
- port: {{ .Values.metrics.serviceMonitor.port | quote }}
path: {{ .Values.metrics.serviceMonitor.path }}
{{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }}
Expand Down

0 comments on commit 67b5718

Please sign in to comment.