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:
serviceAccountName: cbio-api
containers:
- name: cbio-api
image: lpivo/api:tr3
image: lpivo/api:tr5
ports:
- name: http
containerPort: 8080
......
......@@ -3,7 +3,13 @@ kind: Ingress
metadata:
name: cbio-proxy
namespace: cbio-on-demand
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
tls:
- hosts:
- cbiood.edirex.ics.muni.cz
secretName: ingress
rules:
- host: cbiood.edirex.ics.muni.cz
http:
......@@ -12,3 +18,7 @@ spec:
backend:
serviceName: cbio-proxy
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