From 68a6a75753cefc7c2e6a281ea1d02bf0d7a5879e Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 15 Feb 2023 11:48:16 -0300 Subject: [PATCH] Update Ingress object api version for edemocracia --- charts/edemocracia/v0.4.0/templates/ingress.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/charts/edemocracia/v0.4.0/templates/ingress.yaml b/charts/edemocracia/v0.4.0/templates/ingress.yaml index cb8bde6..327844a 100755 --- a/charts/edemocracia/v0.4.0/templates/ingress.yaml +++ b/charts/edemocracia/v0.4.0/templates/ingress.yaml @@ -1,11 +1,7 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "edemocracia.fullname" . -}} {{- $hostName := .Values.edemocracia.hostname -}} -{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} -apiVersion: extensions/v1beta1 -{{- end }} +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ $fullName }}