master
Marius Ensrud 2 years ago
parent 2ba566704b
commit 6a7fc5ba8a

@ -1,7 +1,6 @@
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
{{- $fullName := include "ycast.fullname" . -}} {{- $fullName := include "ycast.fullname" . -}}
{{- $svcPort := .Values.service.port -}} {{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
@ -38,4 +37,4 @@ spec:
number: {{ $svcPort }} number: {{ $svcPort }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
Loading…
Cancel
Save