c12s-application-set/deploy/k8s-poc-demo/prod/ingress.yaml

26 lines
505 B
YAML
Raw Normal View History

2022-12-21 01:00:43 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: k8s-poc-ingress
annotations:
kubernetes.io/ingress.class: "nginx"
2022-12-21 23:32:40 +00:00
cert-manager.io/issuer: "letsencrypt-staging"
2022-12-21 01:00:43 +00:00
spec:
tls:
- hosts:
- k8s-poc.distrilab.org
secretName: k8s-poc-tls-secret
rules:
- host: k8s-poc.distrilab.org
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: k8s-poc-nginx-service
port:
number: 80