Standardized internal application paths
This commit is contained in:
parent
5ee0a9e59d
commit
d1dcd61e14
23 changed files with 180 additions and 177 deletions
|
|
@ -63,7 +63,7 @@ spec:
|
|||
name: pgadmin-secret
|
||||
env:
|
||||
- name: SCRIPT_NAME
|
||||
value: "/internal/dev/pgadmin"
|
||||
value: "/internal/dev/dbadmin/postgres"
|
||||
volumeMounts:
|
||||
- name: pgadmin-data
|
||||
mountPath: /var/lib/pgadmin
|
||||
|
|
@ -88,19 +88,19 @@ spec:
|
|||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: "/internal/dev/pgadmin"
|
||||
value: "/internal/dev/dbadmin/postgres"
|
||||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: "/internal/dev/pgadmin/"
|
||||
replaceFullPath: "/internal/dev/dbadmin/postgres/"
|
||||
statusCode: 301
|
||||
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: "/internal/dev/pgadmin/"
|
||||
value: "/internal/dev/dbadmin/postgres/"
|
||||
backendRefs:
|
||||
- name: pgadmin
|
||||
port: 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue