Skip to content

Commit

Permalink
[GRIST] Fix Missing path
Browse files Browse the repository at this point in the history
  • Loading branch information
rouja committed Sep 12, 2024
1 parent 838fb3f commit 95383ac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions charts/grist/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@ spec:
- host: {{ .host | quote }}
http:
paths:
- path: {{ $.Values.ingress.path | quote }}
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ include "grist.home.fullname" $ }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ include "grist.home.fullname" $ }}
servicePort: {{ $svcPort }}
{{- end }}
- path: /dw
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix
Expand Down

0 comments on commit 95383ac

Please sign in to comment.