Description
... or alternatively implement secretRef for plugins configuration in PluginConfig
The implementation of the kubernetes Gateway API requires the resource PluginConfig to be used in HTTPRoute. When configuring plugins which requires secrets, for example openid-connect, no simple solution is present for using a k8s secret as the configuration is passed (I believe) directly through to the plugin.
One can in ApisixPluginConfig use secretRef to interpolate keys and values from a k8s secret. A similar solution is not possible in PluginConfig. It would be ideal if one could use an ApisixPluginConfig as a filter in HTTPRoute.
Description
... or alternatively implement
secretReffor plugins configuration inPluginConfigThe implementation of the kubernetes Gateway API requires the resource
PluginConfigto be used inHTTPRoute. When configuring plugins which requires secrets, for exampleopenid-connect, no simple solution is present for using a k8s secret as the configuration is passed (I believe) directly through to the plugin.One can in
ApisixPluginConfigusesecretRefto interpolate keys and values from a k8s secret. A similar solution is not possible inPluginConfig. It would be ideal if one could use anApisixPluginConfigas a filter inHTTPRoute.