Fix Ingress for Kubernetes 1.16 #83
@@ -2,7 +2,7 @@ apiVersion: v2 | ||||
name: gitea | ||||
description: Gitea Helm chart for Kubernetes | ||||
type: application | ||||
version: 2.1.1 | ||||
version: 2.1.2 | ||||
appVersion: 1.13.0 | ||||
icon: https://docs.gitea.io/images/gitea.png | ||||
| ||||
| ||||
@@ -34,7 +34,9 @@ spec: | ||||
http: | ||||
paths: | ||||
- path: / | ||||
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }} | ||||
pathType: Prefix | ||||
{{- end }} | ||||
backend: | ||||
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }} | ||||
service: | ||||
| ||||
Reference in New Issue
Block a user