File tree Expand file tree Collapse file tree 6 files changed +52
-52
lines changed Expand file tree Collapse file tree 6 files changed +52
-52
lines changed Original file line number Diff line number Diff line change 4848 selector :
4949 app : httpbin-deployment
5050 ports :
51- - name : http
52- port : 80
53- protocol : TCP
54- targetPort : 80
51+ - name : http
52+ port : 80
53+ protocol : TCP
54+ targetPort : 80
5555 type : ClusterIP
Original file line number Diff line number Diff line change 1616 type : ControlPlane
1717 controlPlane :
1818 endpoints :
19- - ${ADMIN_ENDPOINT} # https://127.0.0.1:7443
19+ - ${ADMIN_ENDPOINT} # https://127.0.0.1:7443
2020 auth :
2121 type : AdminKey
2222 adminKey :
@@ -31,9 +31,9 @@ metadata:
3131spec :
3232 gatewayClassName : apisix
3333 listeners :
34- - name : http
35- protocol : HTTP
36- port : 80
34+ - name : http
35+ protocol : HTTP
36+ port : 80
3737 infrastructure :
3838 parametersRef :
3939 group : apisix.apache.org
@@ -48,14 +48,14 @@ metadata:
4848 name : httpbin
4949spec :
5050 parentRefs :
51- - name : apisix
51+ - name : apisix
5252 hostnames :
53- - httpbin.example.com
53+ - httpbin.example.com
5454 rules :
55- - matches :
56- - path :
57- type : PathPrefix
58- value : /*
59- backendRefs :
60- - name : httpbin
61- port : 80
55+ - matches :
56+ - path :
57+ type : PathPrefix
58+ value : /*
59+ backendRefs :
60+ - name : httpbin
61+ port : 80
Original file line number Diff line number Diff line change 88 type : ControlPlane
99 controlPlane :
1010 endpoints :
11- - ${ADMIN_ENDPOINT} # https://127.0.0.1:7443
11+ - ${ADMIN_ENDPOINT} # https://127.0.0.1:7443
1212 auth :
1313 type : AdminKey
1414 adminKey :
@@ -38,13 +38,13 @@ metadata:
3838spec :
3939 ingressClassName : apisix
4040 rules :
41- - host : httpbin.example.com
42- http :
43- paths :
44- - path : /
45- pathType : Prefix
46- backend :
47- service :
48- name : httpbin
49- port :
50- number : 80
41+ - host : httpbin.example.com
42+ http :
43+ paths :
44+ - path : /
45+ pathType : Prefix
46+ backend :
47+ service :
48+ name : httpbin
49+ port :
50+ number : 80
Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ spec:
4848 selector :
4949 app : httpbin-deployment
5050 ports :
51- - name : http
52- port : 80
53- protocol : TCP
54- targetPort : 80
51+ - name : http
52+ port : 80
53+ protocol : TCP
54+ targetPort : 80
5555 type : ClusterIP
5656
57- ---
57+ ---
5858
5959apiVersion : gateway.networking.k8s.io/v1
6060kind : GatewayClass
7474 type : ControlPlane
7575 controlPlane :
7676 endpoints :
77- - ${ADMIN_ENDPOINT} # https://127.0.0.1:7443
77+ - ${ADMIN_ENDPOINT} # https://127.0.0.1:7443
7878 auth :
7979 type : AdminKey
8080 adminKey :
@@ -89,9 +89,9 @@ metadata:
8989spec :
9090 gatewayClassName : apisix
9191 listeners :
92- - name : http
93- protocol : HTTP
94- port : 80
92+ - name : http
93+ protocol : HTTP
94+ port : 80
9595 infrastructure :
9696 parametersRef :
9797 group : apisix.apache.org
@@ -106,14 +106,14 @@ metadata:
106106 name : httpbin
107107spec :
108108 parentRefs :
109- - name : apisix
109+ - name : apisix
110110 hostnames :
111- - httpbin.example.com
111+ - httpbin.example.com
112112 rules :
113- - matches :
114- - path :
115- type : PathPrefix
116- value : /*
117- backendRefs :
118- - name : httpbin
119- port : 80
113+ - matches :
114+ - path :
115+ type : PathPrefix
116+ value : /*
117+ backendRefs :
118+ - name : httpbin
119+ port : 80
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ metadata:
44 name : httpbin
55spec :
66 targetRefs :
7- - name : httpbin
8- kind : Service
9- group : " "
7+ - name : httpbin
8+ kind : Service
9+ group : " "
1010 passHost : rewrite
1111 upstreamHost : httpbin.example.com
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ metadata:
44 name : httpbin
55spec :
66 targetRefs :
7- - name : httpbin
8- kind : Service
9- group : " "
7+ - name : httpbin
8+ kind : Service
9+ group : " "
1010 timeout :
1111 send : 10s
1212 read : 10s
You can’t perform that action at this time.
0 commit comments