ingress-proxy.yml 509 Bytes
Newer Older
Ľuboslav Pivarč's avatar
Ľuboslav Pivarč committed
1
2
3
4
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: cbio-proxy
Ľuboslav Pivarč's avatar
Ľuboslav Pivarč committed
5
  namespace: __NAMESPACE__
Ľuboslav Pivarč's avatar
Ľuboslav Pivarč committed
6
7
8
9
10
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  tls:
  - hosts:
11
    - __DOMAIN__.edirex.ics.muni.cz
Ľuboslav Pivarč's avatar
Ľuboslav Pivarč committed
12
13
    secretName: ingress
  rules:
14
  - host: __DOMAIN__.edirex.ics.muni.cz
Ľuboslav Pivarč's avatar
Ľuboslav Pivarč committed
15
16
17
18
19
20
21
22
23
24
    http:
      paths:
      - path: /
        backend:
          serviceName: cbio-proxy
          servicePort: 80
      - path: /api
        backend:
          serviceName: cbio-api
          servicePort: 80