traefik/integration/fixtures/k8s/07-ingressroute-serverstransport.yml

29 lines
494 B
YAML
Raw Normal View History

2020-09-11 13:40:03 +00:00
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: testst.route
namespace: default
spec:
entryPoints:
- web
routes:
- match: Host(`foo.com`) && PathPrefix(`/serverstransport`)
kind: Rule
services:
- name: whoami
port: 80
serversTransport: mytransport
---
apiVersion: traefik.containo.us/v1alpha1
kind: ServersTransport
metadata:
name: mytransport
namespace: default
spec:
serverName: "test"
insecureSkipVerify: true