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

26 lines
502 B
YAML
Raw Permalink Normal View History

2022-12-20 16:38:52 +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-21 01:00:43 +00:00
- k8s-poc.example.com
2022-12-20 16:38:52 +00:00
secretName: k8s-poc-tls-secret
rules:
2022-12-21 01:00:43 +00:00
- host: k8s-poc.example.com
2022-12-20 16:38:52 +00:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: k8s-poc-nginx-service
port:
number: 80