From 4a46a39aac7c7e5d658de464d3f4ff975956d9fa Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Tue, 2 May 2023 14:11:35 -0300 Subject: [PATCH] return v1beta1 apiversion - --- charts/sigi/v0.2.3/templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sigi/v0.2.3/templates/ingress.yaml b/charts/sigi/v0.2.3/templates/ingress.yaml index f142cbd..fa56bfd 100644 --- a/charts/sigi/v0.2.3/templates/ingress.yaml +++ b/charts/sigi/v0.2.3/templates/ingress.yaml @@ -2,7 +2,7 @@ {{- $fullName := include "sigi.fullname" . -}} {{- $hostName := .Values.sigi.hostname -}} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 {{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} apiVersion: networking.k8s.io/v1beta1 {{- else -}}