yin6516008 opened a new issue #854:
URL: https://github.com/apache/apisix-ingress-controller/issues/854
### Issue description
CRD resource configuration files:
```yaml
apiVersion: apisix.apache.org/v2beta3
kind: ApisixPluginConfig
metadata:
name: openapi-auth
namespace: default
spec:
plugins:
- name: authz-casbin
enable: true
config:
model_path: "/usr/local/apisix/conf/casbin-model.conf"
policy: "test, /*,GET"
username: "user"
```
apisix-ingress-controller log:
`2022-02-08T09:43:51+08:00 [33mwarn[0m
ingress/apisix_pluginconfig.go:224 sync ApisixPluginConfig failed, will
retry {"object":
{"Type":2,"Object":{"Key":"default/openapi-auth","OldObject":{},"GroupVersion":"apisix.apache.org/v2beta3"},"Tombstone":null},
"error": "1 error occurred:\n\t* unexpected status code 400; error message:
{\"error_msg\":\"failed to check the configuration of plugin authz-casbin err:
value should match only one schema, but matches none\"}\n\n\n"}`
Is the CRD configuration fields is there a problem?
### Environment
- your apisix-ingress-controller version (output of
apisix-ingress-controller version --long): 1.4
- your Kubernetes cluster version (output of kubectl version): 1.20
- if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (uname -a): centos7.6
--
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]