From 6a7fc5ba8af8c9eff8fb0f88fd342212ff3c5459 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Sun, 12 May 2024 12:15:34 +0200 Subject: [PATCH] fix if --- charts/ycast/1.2.0/templates/ingress.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/ycast/1.2.0/templates/ingress.yaml b/charts/ycast/1.2.0/templates/ingress.yaml index f2b7498..e440db1 100644 --- a/charts/ycast/1.2.0/templates/ingress.yaml +++ b/charts/ycast/1.2.0/templates/ingress.yaml @@ -1,7 +1,6 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "ycast.fullname" . -}} {{- $svcPort := .Values.service.port -}} -{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -38,4 +37,4 @@ spec: number: {{ $svcPort }} {{- end }} {{- end }} - {{- end }} + {{- end }} \ No newline at end of file