nfrankel opened a new issue, #1328:
URL: https://github.com/apache/apisix-ingress-controller/issues/1328
### Issue description
Here's my definition of an `ApisixRoute`:
```yaml
apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: apisix-route
spec:
http:
- name: left
match:
paths:
- "/left"
backends:
- serviceName: left
servicePort: 80
- name: right
match:
paths:
- "/right"
backends:
- serviceName: right
servicePort: 80
```
After it has been applied, I want to check the object:
```bash
k get apisixroute
```
Only `left` appears in the URL:
```
NAME HOSTS URIS AGE
apisix-route ["/left"] 26
```
It's misleading: both `/left` and `/right` should be listed.
### Environment
- your apisix-ingress-controller version (output of
apisix-ingress-controller version --long):
```
Version: 1.4.1
Git SHA: no-git-module
Go Version: go1.16.15
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
```
- your Kubernetes cluster version (output of kubectl version):
```
WARNING: This version information is deprecated and will be replaced with
the output from kubectl version --short. Use --output=yaml|json to get the
full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0",
GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean",
BuildDate:"2022-08-23T17:36:43Z", GoVersion:"go1.19", Compiler:"gc",
Platform:"darwin/arm64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0",
GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean",
BuildDate:"2022-09-01T23:34:08Z", GoVersion:"go1.19", Compiler:"gc",
Platform:"linux/arm64"}
```
- if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (uname -a):
```
Darwin Nico 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT
2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64
```
### Minimal test code / Steps to reproduce
1. Install the Apache APISIX Ingress Controller
2. Apply the above route
3. Get the route
### Actual result
See above
### Error log
None
### Expected result
_No response_
--
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]