feat: servicemonitor port must be string

This commit is contained in:
weian
2022-10-18 16:18:38 +08:00
parent 574efd8df0
commit f5e2b9dd67
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ spec:
matchNames:
- {{ $top.Release.Namespace | quote }}
endpoints:
- port: {{ $serviceMonitor.port }}
- port: "{{ $serviceMonitor.port }}"
{{- with $serviceMonitor.path }}
path: {{ . }}
{{- end }}