26 lines
516 B
YAML
26 lines
516 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-staging"
|
||
|
spec:
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- test-k8s-poc.distrilab.org
|
||
|
secretName: k8s-poc-tls-secret
|
||
|
rules:
|
||
|
- host: test-k8s-poc.distrilab.org
|
||
|
http:
|
||
|
paths:
|
||
|
- pathType: Prefix
|
||
|
path: "/"
|
||
|
backend:
|
||
|
service:
|
||
|
name: k8s-poc-nginx-service
|
||
|
port:
|
||
|
number: 80
|
||
|
|