-
Notifications
You must be signed in to change notification settings - Fork 134
/
apisixroute.yaml
37 lines (34 loc) · 991 Bytes
/
apisixroute.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Author: Hari Sekhon
# Date: 2023-08-08 23:48:19 +0100 (Tue, 08 Aug 2023)
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/HariSekhon/Kubernetes-configs
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# ============================================================================ #
# A p i s i x R o u t e C R D
# ============================================================================ #
# https://apisix.apache.org/docs/ingress-controller/concepts/apisix_route/
---
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: httpbin-route
spec:
http:
- name: route-1
match:
hosts:
- local.httpbin.org
paths:
- /*
backends:
- serviceName: httpbin
servicePort: 80