Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
ecb63128
Commit
ecb63128
authored
9 months ago
by
Manuel Esberger
Browse files
Options
Downloads
Patches
Plain Diff
routes
parent
0c75cc6d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
helm/dbrepo/templates/routes.yaml
+460
-0
460 additions, 0 deletions
helm/dbrepo/templates/routes.yaml
with
460 additions
and
0 deletions
helm/dbrepo/templates/routes.yaml
0 → 100644
+
460
−
0
View file @
ecb63128
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-analyse
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/analyse
to
:
kind
:
Service
name
:
analyse-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-search
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/search
to
:
kind
:
Service
name
:
search-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-data-subset
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database/([0-9]+)/subset
to
:
kind
:
Service
name
:
data-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-data-table-data
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database/[0-9]+/table/[0-9]+/data
to
:
kind
:
Service
name
:
data-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-data-table-history
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database/[0-9]+/table/[0-9]+/history
to
:
kind
:
Service
name
:
data-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-data-table-export
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database/[0-9]+/table/[0-9]+/export
to
:
kind
:
Service
name
:
data-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-data-view-data
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database/[0-9]+/view/[0-9]+/data
to
:
kind
:
Service
name
:
data-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-view
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database/[0-9]+/view
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-database
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/database
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-concept
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/concept
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-container
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/container
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-identifier
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/identifier
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-image
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/image
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-message
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/message
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-license
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/license
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-oai
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/oai
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-ontology
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/ontology
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-unit
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/unit
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-metadata-user
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/user
to
:
kind
:
Service
name
:
metadata-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-upload
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/upload
to
:
kind
:
Service
name
:
upload-service
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-ui
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.basic | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/
to
:
kind
:
Service
name
:
ui
port
:
targetPort
:
80
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-broker
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.rewriteApi | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/broker
to
:
kind
:
Service
name
:
broker-service
port
:
targetPort
:
15672
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
---
apiVersion
:
route.openshift.io/v1
kind
:
Route
metadata
:
name
:
dbrepo-route-broker-rewrite
namespace
:
{{
.Values.namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations.rewriteRoot | nindent 4
}}
spec
:
host
:
{{
.Values.hostname
}}
path
:
/api/broker/(.*)
to
:
kind
:
Service
name
:
broker-service
port
:
targetPort
:
15672
{{
- if .Values.ingress.tls.enabled
}}
tls
:
termination
:
edge
insecureEdgeTerminationPolicy
:
Redirect
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment