2020-09-11 13:40:03 +00:00
|
|
|
---
|
2023-03-20 14:38:08 +00:00
|
|
|
apiVersion: traefik.io/v1alpha1
|
2020-09-11 13:40:03 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
---
|
2023-03-20 14:38:08 +00:00
|
|
|
apiVersion: traefik.io/v1alpha1
|
2020-09-11 13:40:03 +00:00
|
|
|
kind: ServersTransport
|
|
|
|
metadata:
|
|
|
|
name: mytransport
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
serverName: "test"
|
|
|
|
insecureSkipVerify: true
|