platform/server/front/kube/ingress.yml
Andrey Platov 3e8a531099
move k8s stuff to kube folder
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
2021-08-28 22:33:10 +02:00

24 lines
467 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/issuer: "letsencrypt-prod"
name: front-ingress
spec:
tls:
- hosts:
- front.hc.engineering
secretName: front-tls
rules:
- host: front.hc.engineering
http:
paths:
- backend:
service:
name: front
port:
number: 80
path: /
pathType: Prefix