rjiang-ptm opened a new issue, #986:
URL: https://github.com/apache/apisix-ingress-controller/issues/986
### Issue description
In Kubernetes, we use CR ApisixConsumer to create a consumer in apisix.
However, it seems only support `basicaAuth` and `keyAuth`?
Using apisix admin api to create consumer directly does work, however, we'd
like to use CR via apisix ingress controller if possible.
When I tried to use `wolf-rbac` as the plugin, eg.
```
apiVersion: apisix.apache.org/v2alpha1
kind: ApisixConsumer
metadata:
name: cluster-admin-ac
spec:
authParameter:
wolf-rbac:
value: "http://component-wolf-rbac.infra-wolf-rbac:12180"
key: "server"
value: "tensor"
key: "appid"
```
I got `error validating data:
ValidationError(ApisixConsumer.spec.authParameter): unknown field "wolf-rbac"
in org.apache.apisix.v2alpha1.ApisixConsumer.spec.authParameter; if you choose
to ignore these errors, turn validation off with --validate=false`
Or is there a different way to specify auth plugins?
### 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]