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

26 lines
503 B
YAML
Raw Permalink 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"
cert-manager.io/issuer: "letsencrypt-prod"
2022-12-21 01:00:43 +00:00
spec:
tls:
- hosts:
2022-12-22 06:53:37 +00:00
- k8s-poc.distrilab.fr
secretName: k8s-poc-fr-tls-secret
2022-12-21 01:00:43 +00:00
rules:
2022-12-22 06:53:37 +00:00
- host: k8s-poc.distrilab.fr
2022-12-21 01:00:43 +00:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: k8s-poc-nginx-service
port:
number: 80