9012f2d6b1
Co-authored-by: Julien Salleyron <julien@containo.us>
38 lines
651 B
YAML
38 lines
651 B
YAML
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
metadata:
|
|
name: ""
|
|
namespace: testing
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
|
|
spec:
|
|
tls:
|
|
- secretName: myTlsSecret
|
|
rules:
|
|
- host: example.com
|
|
http:
|
|
paths:
|
|
- path: ""
|
|
backend:
|
|
serviceName: example-com
|
|
servicePort: 80
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
metadata:
|
|
name: ""
|
|
namespace: testing
|
|
|
|
spec:
|
|
tls:
|
|
- secretName: myUndefinedSecret
|
|
rules:
|
|
- host: example.fail
|
|
http:
|
|
paths:
|
|
- path: ""
|
|
backend:
|
|
serviceName: example-fail
|
|
servicePort: 80
|