traefik/integration/fixtures/k8s/07-ingressroute-serverstransport.yml
2023-03-20 15:38:08 +01:00

28 lines
476 B
YAML

---
apiVersion: traefik.io/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.io/v1alpha1
kind: ServersTransport
metadata:
name: mytransport
namespace: default
spec:
serverName: "test"
insecureSkipVerify: true