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-22 07:06:31 +00:00
|
|
|
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
|
|
|
|
|