caibirdme opened a new issue, #1091:
URL: https://github.com/apache/apisix-ingress-controller/issues/1091
### Issue description
```yaml
# vector-upstream.yaml
apiVersion: apisix.apache.org/v1
kind: ApisixUpstream
metadata:
name: vector
spec:
scheme: grpc
```
kubectl apply -f vector-upstream.yaml -n vector
```
error: unable to recognize "vector-upstream.yaml": no matches for kind
"ApisixUpstream" in version "apisix.apache.org/v1"
```
### Environment
- your apisix-ingress-controller version (output of
apisix-ingress-controller version --long): 1.4.1
- your Kubernetes cluster version (output of kubectl version): 1.20.4
- if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (uname -a): centos7
### Minimal test code / Steps to reproduce
```yaml
# vector-upstream.yaml
apiVersion: apisix.apache.org/v1
kind: ApisixUpstream
metadata:
name: vector
spec:
scheme: grpc
```
kubectl apply -f vector-upstream.yaml -n vector
### Actual result
error: unable to recognize "vector-upstream.yaml": no matches for kind
"ApisixUpstream" in version "apisix.apache.org/v1"
### Error log
error: unable to recognize "vector-upstream.yaml": no matches for kind
"ApisixUpstream" in version "apisix.apache.org/v1"
### Expected result
xxx created
--
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]