2019-03-14 14:56:06 +00:00
|
|
|
kind: Ingress
|
2020-01-16 09:14:06 +00:00
|
|
|
apiVersion: networking.k8s.io/v1beta1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
|
|
|
name: ""
|
|
|
|
namespace: testing
|
2020-03-18 12:30:04 +00:00
|
|
|
annotations:
|
|
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
2019-03-14 14:56:06 +00:00
|
|
|
|
|
|
|
spec:
|
|
|
|
tls:
|
2021-06-24 15:32:07 +00:00
|
|
|
- secretName: my-tls-secret
|
2019-03-14 14:56:06 +00:00
|
|
|
rules:
|
|
|
|
- host: example.com
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: ""
|
|
|
|
backend:
|
|
|
|
serviceName: example-com
|
|
|
|
servicePort: 80
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: Ingress
|
2020-01-16 09:14:06 +00:00
|
|
|
apiVersion: networking.k8s.io/v1beta1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
|
|
|
name: ""
|
|
|
|
namespace: testing
|
|
|
|
|
|
|
|
spec:
|
|
|
|
tls:
|
2021-06-24 15:32:07 +00:00
|
|
|
- secretName: my-undefined-secret
|
2019-03-14 14:56:06 +00:00
|
|
|
rules:
|
|
|
|
- host: example.fail
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: ""
|
|
|
|
backend:
|
|
|
|
serviceName: example-fail
|
|
|
|
servicePort: 80
|