2023-03-20 15:38:08 +01:00
|
|
|
apiVersion: traefik.io/v1alpha1
|
2019-03-14 15:56:06 +01:00
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
2019-07-05 17:24:04 +02:00
|
|
|
name: test.route
|
2019-03-14 15:56:06 +01:00
|
|
|
namespace: default
|
2020-11-20 00:18:04 +01:00
|
|
|
labels:
|
|
|
|
app: traefik
|
2019-03-14 15:56:06 +01:00
|
|
|
|
|
|
|
spec:
|
2019-04-15 11:14:05 +02:00
|
|
|
entryPoints:
|
2019-03-14 15:56:06 +01:00
|
|
|
- web
|
|
|
|
|
|
|
|
routes:
|
|
|
|
- match: Host(`foo.com`) && PathPrefix(`/bar`)
|
|
|
|
kind: Rule
|
|
|
|
priority: 12
|
|
|
|
services:
|
|
|
|
- name: whoami
|
|
|
|
port: 80
|
2019-06-21 17:18:05 +02:00
|
|
|
|
|
|
|
tls:
|
|
|
|
options:
|
|
|
|
name: mytlsoption
|
2020-02-24 08:14:06 -08:00
|
|
|
store:
|
|
|
|
name: mytlsstore
|