You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add a "namespace" parameter to the "plugin_config" of apisixRoute, to share the same apisixPluginConfig between all namespaces of apisixRoutes
#2132
Closed
seethedoor opened this issue
Jan 11, 2024
· 2 comments
· Fixed by #2137
We are using apisixRoutes, and now we need to add a common plugin_config to all of the routes. But I found that apisixRoute spec params only support plugin_config_name, and it will only search apisixPluginConfig in the same namespace of the apisixRoute.
This will require to create the same apisixPluginConfigs for all namespaces and maintain these apisixPluginConfigs as namespaces change. If we can add a plugin_config_namespace parameter under the apisixRoute spec, combined with the plugin_config_name, we can solve the above problem with just one apisixPluginConfig.
The text was updated successfully, but these errors were encountered:
seethedoor
changed the title
feat: It is necessary to add a "namespace" parameter to the "plugin_config" of apisixRoute, so that apisixRoutes under multiple namespaces can share the same apisixPluginConfig.
feat: Add a "namespace" parameter to the "plugin_config" of apisixRoute, to share the same apisixPluginConfig between all namespaces.
Jan 11, 2024
seethedoor
changed the title
feat: Add a "namespace" parameter to the "plugin_config" of apisixRoute, to share the same apisixPluginConfig between all namespaces.
feat: Add a "namespace" parameter to the "plugin_config" of apisixRoute, to share the same apisixPluginConfig between all namespaces of apisixRoutes
Jan 11, 2024
Description
We are using apisixRoutes, and now we need to add a common plugin_config to all of the routes. But I found that apisixRoute
spec
params only supportplugin_config_name
, and it will only search apisixPluginConfig in the same namespace of the apisixRoute.This will require to create the same apisixPluginConfigs for all namespaces and maintain these apisixPluginConfigs as namespaces change. If we can add a
plugin_config_namespace
parameter under the apisixRoutespec
, combined with theplugin_config_name
, we can solve the above problem with just one apisixPluginConfig.The text was updated successfully, but these errors were encountered: