You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "darkSheep404 (via GitHub)" <gi...@apache.org> on 2024/08/09 08:13:33 UTC

Re: [I] bug: yml conf could not use $env to set plugin properties [apisix]

darkSheep404 commented on issue #11319:
URL: https://github.com/apache/apisix/issues/11319#issuecomment-2277406286

   By checking
   you need to add 
   `local fetch_secrets = require("apisix.secret").fetch_secrets`
   and
   ```lua
   function _M.rewrite(plugin_conf, ctx)
       local conf = core.table.clone(plugin_conf)
       local conf = fetch_secrets(plugin_conf)
      ```
   
   https://github.com/apache/apisix/pull/11451


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org