traefik/provider/kubernetes/ingress/fixtures/TLS-support_ingress.yml
Ludovic Fernandez 4c060a78cc Custom resource definition
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2019-03-14 15:56:06 +01:00

36 lines
569 B
YAML

kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: ""
namespace: testing
spec:
tls:
- secretName: myTlsSecret
rules:
- host: example.com
http:
paths:
- path: ""
backend:
serviceName: example-com
servicePort: 80
---
kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: ""
namespace: testing
spec:
tls:
- secretName: myUndefinedSecret
rules:
- host: example.fail
http:
paths:
- path: ""
backend:
serviceName: example-fail
servicePort: 80