From 824e5411bcafeab60e407a08acf0f74e1664895b Mon Sep 17 00:00:00 2001 From: Alexander Buntakov Date: Fri, 25 Jun 2021 01:16:40 +0300 Subject: [PATCH] Update ingress.yaml --- starters/touchin-docs/templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starters/touchin-docs/templates/ingress.yaml b/starters/touchin-docs/templates/ingress.yaml index 9a1a7e7..b5f2389 100644 --- a/starters/touchin-docs/templates/ingress.yaml +++ b/starters/touchin-docs/templates/ingress.yaml @@ -2,7 +2,7 @@ {{- $fullName := include ".fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 {{- else -}} apiVersion: extensions/v1beta1 {{- end }}