Move Studio tools to customer-facing routes
This commit is contained in:
parent
ba0a88b708
commit
6b87b1a39b
24 changed files with 49 additions and 34 deletions
|
|
@ -13,15 +13,30 @@ spec:
|
|||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: /internal/dev/git
|
||||
value: /services/studio/forgejo
|
||||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: /internal/dev/git/
|
||||
replaceFullPath: /services/studio/forgejo/
|
||||
statusCode: 301
|
||||
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /services/studio/forgejo/
|
||||
filters:
|
||||
- type: URLRewrite
|
||||
urlRewrite:
|
||||
path:
|
||||
type: ReplacePrefixMatch
|
||||
replacePrefixMatch: /
|
||||
backendRefs:
|
||||
- name: forgejo
|
||||
port: 3000
|
||||
|
||||
# Temporary compatibility path for Argo CD and existing Git remotes.
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ spec:
|
|||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /internal/dev/projectmanagement
|
||||
value: /services/studio/openproject
|
||||
backendRefs:
|
||||
- name: openproject
|
||||
port: 8080
|
||||
|
|
|
|||
|
|
@ -13,19 +13,19 @@ spec:
|
|||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: /internal/dev/dbadmin/postgres
|
||||
value: /services/studio/pgadmin
|
||||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: /internal/dev/dbadmin/postgres/
|
||||
replaceFullPath: /services/studio/pgadmin/
|
||||
statusCode: 301
|
||||
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /internal/dev/dbadmin/postgres/
|
||||
value: /services/studio/pgadmin/
|
||||
backendRefs:
|
||||
- name: pgadmin
|
||||
port: 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue