Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
fix: rewrites url on notebook logout (opendatahub-io#880)
Browse files Browse the repository at this point in the history
add notebook logout rewrite to vs
  • Loading branch information
cam-garrison authored and bartoszmajsak committed Sep 13, 2023
1 parent 27dea6e commit 5c45817
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,19 @@ spec:
hosts:
- "opendatahub.$DOMAIN"
http:
- route:
- match:
- uri:
# match host.com/notebook/ns/username/logout
regex: "^/notebook/.*/.*/logout"
route:
- destination:
host: odh-dashboard
port:
number: 80
rewrite:
uri: "/oauth/sign_out"
- route:
- destination:
host: odh-dashboard
port:
number: 80

0 comments on commit 5c45817

Please sign in to comment.