diff --git a/charts/media-common/templates/ingress.yaml b/charts/media-common/templates/ingress.yaml index 3ce03cd3..dd8fbc0a 100644 --- a/charts/media-common/templates/ingress.yaml +++ b/charts/media-common/templates/ingress.yaml @@ -1,6 +1,6 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "media-common.fullname" . -}} - {{- $svcPort := include "media-common.portSelector" . -}} + {{- $svcPort := .Values.service.port -}} {{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} apiVersion: networking.k8s.io/v1beta1 {{- else -}}