Skip to content

Commit

Permalink
WIP - App API route
Browse files Browse the repository at this point in the history
  • Loading branch information
tlawrie committed Sep 28, 2023
1 parent 5881660 commit 11d202e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bmrg-flow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: bmrg-flow
description: Boomerang Flow
type: application
version: 5.1.6
version: 5.1.7
appVersion: 4.0.0
home: https://useboomerang.io
dependencies:
Expand Down
4 changes: 2 additions & 2 deletions bmrg-flow/templates/ingress-app-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ metadata:
add_header 'Content-Type' 'text/plain charset=UTF-8';
return 204;}
{{ $.Values.global.ingress.annotationsPrefix}}/ssl-redirect: "true"
{{ $.Values.global.ingress.annotationsPrefix}}/rewrite-target: /{{ $tier }}/v2/$2
{{ $.Values.global.ingress.annotationsPrefix}}/rewrite-target: /api/v2/$2
{{ $.Values.global.ingress.annotationsPrefix}}/client-max-body-size: 1m
{{ $.Values.global.ingress.annotationsPrefix}}/limit-rps: "10"
{{ $.Values.global.ingress.annotationsPrefix}}/limit-rpm: "300"
Expand All @@ -44,7 +44,7 @@ spec:
- host: {{ $.Values.global.ingress.host }}
http:
paths:
- path: {{ if $.Values.global.ingress.root }}{{ $.Values.global.ingress.root }}{{- end }}/_{{ $tier }}/v2(/|$)(.*)
- path: {{ if $.Values.global.ingress.root }}{{ $.Values.global.ingress.root }}{{- end }}/_api/v2(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
Expand Down

0 comments on commit 11d202e

Please sign in to comment.