Fix Ingress for Kubernetes 1.16 (#83)
Fix ingress path type for 1.16 Bump chart version Co-authored-by: Lucas Hahn <[email protected]> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/83 Reviewed-by: 6543 <[email protected]> Reviewed-by: Lunny Xiao <[email protected]> Co-Authored-By: luhahn <[email protected]> Co-Committed-By: luhahn <[email protected]>
This commit is contained in:
@@ -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