fix(bookstack): ingress v1
parent
459f692e33
commit
1675da6506
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue