add extraPorts support
This commit is contained in:
@@ -44,6 +44,15 @@ spec:
|
||||
- name: telnet
|
||||
containerPort: {{ .Values.telnetport }}
|
||||
protocol: TCP
|
||||
{{- if .Values.service.extraPorts }}
|
||||
{{- range $servicePort := .Values.service.extraPorts }}
|
||||
- name: {{ $servicePort.name }}
|
||||
containerPort: {{ $servicePort.targetPort }}
|
||||
{{- if $servicePort.protocol }}
|
||||
protocol: {{ $servicePort.protocol }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /fhem
|
||||
|
Reference in New Issue
Block a user