+1 Agree to add this feature. BTW, In `ApisixRoute` the configuration of `ApisixPluginConfig` and `plugins` can not exist at the same time.
Jintao Zhang <[email protected]> 于2021年9月22日周三 下午4:36写道: > # background > > Many functions of Apache APISIX are now provided through plugins. In > scenarios where APISIX is used extensively, *these configurations are often > reusable.* > > In February of this year, plugin config capabilities has been added to > Apache APISIX. [1] > > I propose to add a custom resource of `ApisixPluginConfig` to Apache APISIX > Ingress to support this feature.[2] > > # implement > > * Add an `ApisixPluginConfig` custom resources. It can be converted to > APISIX's `plugin_config`, Use its name as its id; > * When we add this configuration to `ApisixRoute`, use its name as an > index. > > > > [1]: https://github.com/apache/apisix/pull/3567 > [2]: > https://apisix.apache.org/docs/apisix/architecture-design/plugin-config >
