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

@ -14,4 +14,4 @@ type: library
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.3.0
version: 1.3.1

View File

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