Skip to content

Commit 36b3991

Browse files
authored
fix: Update Powa UI deployment and HTTP route to include path matching rules (#451)
1 parent 84fa017 commit 36b3991

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

operator/charts/patroni-services/templates/powa-ui/powa-gateway-deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ spec:
1313
port: 443
1414
hostnames: [{{ .Values.powaUI.ingress.host | quote }}]
1515
rules:
16-
- backendRefs:
16+
- matches:
17+
- path:
18+
type: PathPrefix
19+
value: /
20+
backendRefs:
1721
- name: powa-ui
1822
port: 8080
1923
{{- end }}

operator/charts/patroni-services/templates/powa-ui/powa-http-route.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@ spec:
1818
requestRedirect:
1919
scheme: https
2020
statusCode: 301
21+
matches:
22+
- path:
23+
type: PathPrefix
24+
value: /
2125
{{- end }}
2226
{{- end }}

0 commit comments

Comments
 (0)