wfy-belief opened a new issue, #2331: URL: https://github.com/apache/apisix-ingress-controller/issues/2331
### Issue description 配置 TCP 四层代理的时候,根据文档来配置 https://apisix.apache.org/docs/ingress-controller/references/apisix_route_v2/  根据文档描述,配置 stream 参数的时候,发现这个地方文档是不是有错误 ```yaml apiVersion: apisix.apache.org/v2 kind: ApisixRoute metadata: name: mysql-stream-route spec: stream: - name: mysql-master protocol: TCP match: ingressPort: 3306 http: - backends: - serviceName: mysql servicePort: 3306 ``` 结果如下: ```bash The ApisixRoute "redis-stream-route" is invalid: * <nil>: Invalid value: "": "spec.http[0]" must validate at least one schema (anyOf) * spec.http[0].name: Required value * spec.http[0].match: Required value * spec.stream[0].backend: Required value ``` ### Environment - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): - your Kubernetes cluster version (output of kubectl version): - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a): -- 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]
