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 }}