traefik/pkg/provider/kubernetes/ingress/fixtures/TLS-support_ingress.yml
Ludovic Fernandez 9012f2d6b1
fix: Ingress TLS support
Co-authored-by: Julien Salleyron <julien@containo.us>
2020-03-18 13:30:04 +01:00

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