fix old template var

This commit is contained in:
Nicholas St. Germain 2020-09-05 00:30:43 -05:00
parent 8999baca25
commit e0f64a26f2
No known key found for this signature in database
GPG Key ID: 7221152119DAB1E6

View File

@ -15,7 +15,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- name: http
port: {{ template "media-common.portSelector" . }}
port: {{ .Values.service.port }}
protocol: TCP
targetPort: http
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}