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 name: bookstack
sources: sources:
- https://github.com/BookStackApp/BookStack - https://github.com/BookStackApp/BookStack
version: 1.2.4 version: 1.2.5

View File

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