fix last portselector

This commit is contained in:
Nicholas St. Germain 2020-09-05 04:36:30 -05:00
parent 76c5160e37
commit 5705371a35
No known key found for this signature in database
GPG Key ID: 7221152119DAB1E6

View File

@ -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 -}}