Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACK-2784] Proxy user profile requests to auth instead of seagull. #278

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/tidepool/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart for Tidepool
name: tidepool
version: 0.15.32
version: 0.15.33
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to rebase, because the latest version is 0.16.0

maintainers:
- name: Todd Kazakov
email: [email protected]
Expand Down
15 changes: 15 additions & 0 deletions charts/tidepool/charts/seagull/templates/4-routetable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ spec:
options:
extauth:
disable: true
- matchers:
- regex: '/metadata/[^/]+/profile'
routeAction:
single:
upstream:
name: auth
lostlevels marked this conversation as resolved.
Show resolved Hide resolved
options:
regexRewrite:
pattern:
regex: '/metadata/'
substitution: '/v1/users/legacy/'
retries:
retryOn: '5xx'
numRetries: 3
perTryTimeout: '15s'
- matchers:
- prefix: /metadata/
routeAction:
Expand Down