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

26 lines
517 B
YAML
Raw Permalink Normal View History

2022-12-21 01:16:21 +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-staging"
spec:
tls:
- hosts:
2022-12-22 06:53:37 +00:00
- test-k8s-poc.distrilab.fr
secretName: k8s-poc-fr-tls-secret
2022-12-21 01:16:21 +00:00
rules:
2022-12-22 06:53:37 +00:00
- host: test-k8s-poc.distrilab.fr
2022-12-21 01:16:21 +00:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: k8s-poc-nginx-service
port:
number: 80