25 lines
503 B
YAML
25 lines
503 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: k8s-poc-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
cert-manager.io/issuer: "letsencrypt-prod"
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- k8s-poc.distrilab.fr
|
|
secretName: k8s-poc-fr-tls-secret
|
|
rules:
|
|
- host: k8s-poc.distrilab.fr
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: "/"
|
|
backend:
|
|
service:
|
|
name: k8s-poc-nginx-service
|
|
port:
|
|
number: 80
|
|
|