fix(bookstack): ingress v1

main
Pratik Balar 2022-01-05 13:33:23 +05:30
parent 459f692e33
commit 1675da6506
2 changed files with 7 additions and 4 deletions

View File

@ -8,4 +8,4 @@ icon: https://github.com/BookStackApp/website/blob/master/static/images/logo.png
name: bookstack
sources:
- https://github.com/BookStackApp/BookStack
version: 1.2.4
version: 1.2.5

View File

@ -1,7 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "bookstack.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
@ -31,8 +31,11 @@ spec:
http:
paths:
- path: {{ $ingressPath }}
pathType: ImplementationSpecific
backend:
serviceName: {{ $fullName }}
servicePort: http
service:
name: {{ $fullName }}
port:
name: http
{{- end }}
{{- end }}