Commit 82ca6d7e authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

api image version changed & ingress controler set up to serve /api

parent 2cf87aa1
...@@ -31,7 +31,7 @@ spec: ...@@ -31,7 +31,7 @@ spec:
serviceAccountName: cbio-api serviceAccountName: cbio-api
containers: containers:
- name: cbio-api - name: cbio-api
image: lpivo/api:tr3 image: lpivo/api:tr5
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080
......
...@@ -3,7 +3,13 @@ kind: Ingress ...@@ -3,7 +3,13 @@ kind: Ingress
metadata: metadata:
name: cbio-proxy name: cbio-proxy
namespace: cbio-on-demand namespace: cbio-on-demand
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec: spec:
tls:
- hosts:
- cbiood.edirex.ics.muni.cz
secretName: ingress
rules: rules:
- host: cbiood.edirex.ics.muni.cz - host: cbiood.edirex.ics.muni.cz
http: http:
...@@ -12,3 +18,7 @@ spec: ...@@ -12,3 +18,7 @@ spec:
backend: backend:
serviceName: cbio-proxy serviceName: cbio-proxy
servicePort: 80 servicePort: 80
- path: /api
backend:
serviceName: cbio-api
servicePort: 80
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment