parameterize port name

This commit is contained in:
Anders Swanson 2022-09-12 12:34:40 -07:00
parent 6ef7317581
commit e7c793f65d
5 changed files with 6 additions and 5 deletions

View file

@ -118,7 +118,7 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.controller.metrics.enabled }}
- name: metrics
- name: {{ .Values.controller.metrics.portName }}
containerPort: {{ .Values.controller.metrics.port }}
protocol: TCP
{{- end }}