tao12345666333 commented on a change in pull request #875:
URL:
https://github.com/apache/apisix-ingress-controller/pull/875#discussion_r809155778
##########
File path: docs/en/latest/practices/the-hard-way.md
##########
@@ -730,21 +737,22 @@ After the ingress controller status is converted to
`Running`, we could create a
Here is an example ApisixRoute:
```yaml
-apiVersion: apisix.apache.org/v2beta1
+apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: httpserver-route
+ namespace: demo
spec:
http:
- - name: httpbin
- match:
- hosts:
- - local.httpbin.org
- paths:
- - "/*"
- backend:
- serviceName: httpbin
- servicePort: 80
+ - name: httpbin
+ match:
+ hosts:
+ - local.httpbin.org
+ paths:
+ - /*
+ backends:
+ - serviceName: httpbin
+ servicePort: 80
Review comment:
remove a space
##########
File path: docs/en/latest/practices/the-hard-way.md
##########
@@ -730,21 +737,22 @@ After the ingress controller status is converted to
`Running`, we could create a
Here is an example ApisixRoute:
```yaml
-apiVersion: apisix.apache.org/v2beta1
+apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: httpserver-route
+ namespace: demo
spec:
http:
- - name: httpbin
- match:
- hosts:
- - local.httpbin.org
- paths:
- - "/*"
- backend:
- serviceName: httpbin
- servicePort: 80
+ - name: httpbin
+ match:
+ hosts:
+ - local.httpbin.org
+ paths:
+ - /*
+ backends:
+ - serviceName: httpbin
+ servicePort: 80
Review comment:
```suggestion
backends:
- serviceName: httpbin
servicePort: 80
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]