oraculum: Try route paths to separate api

This commit is contained in:
František Zatloukal 2021-01-26 18:11:31 +01:00
parent 7060ab6dde
commit d4e75f8266
2 changed files with 5 additions and 4 deletions

View file

@ -82,9 +82,10 @@
- role: openshift/route
app: oraculum
routename: packager-dashboard
routename: oraculum-api
host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
serviceport: 5000-tcp
path: "/api"
serviceport: 8080-tcp
servicename: oraculum-api-endpoint
- role: openshift/start-build

View file

@ -7,8 +7,8 @@ metadata:
name: oraculum-api-endpoint
spec:
ports:
- name: 5000-tcp
port: 5000
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
selector: