parameterize port name
This commit is contained in:
parent
6ef7317581
commit
e7c793f65d
5 changed files with 6 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ metadata:
|
|||
{{- end }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: metrics
|
||||
- port: {{ .Values.controller.metrics.portName }}
|
||||
interval: {{ .Values.controller.metrics.serviceMonitor.scrapeInterval }}
|
||||
{{- if .Values.controller.metrics.serviceMonitor.honorLabels }}
|
||||
honorLabels: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue