add extraPorts support
This commit is contained in:
@ -25,8 +25,9 @@ spec:
|
||||
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePorts.http))) }}
|
||||
nodePort: {{ .Values.service.nodePorts.fhemweb }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.extraPorts }}
|
||||
{{- toYaml .Values.service.extraPorts | nindent 2 }}
|
||||
{{- end }}
|
||||
|
||||
selector:
|
||||
{{- include "fhem.selectorLabels" . | nindent 4 }}
|
||||
|
Reference in New Issue
Block a user