You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/26 07:40:01 UTC

[GitHub] [apisix-ingress-controller] jnystad opened a new issue, #1408: feat: Allow use of config maps and secrets in plugin configs

jnystad opened a new issue, #1408:
URL: https://github.com/apache/apisix-ingress-controller/issues/1408

   Hi there,
   
   Some plugins require secrets in their configs (e.g. openid-connect with client_secret and session.secret), but there is no way of injecting this from a Kubernetes secret that I can see. Likewise, obtaining some values from config maps could be very useful.
   
   This makes it hard to automate deployments when using apisix-ingress-controller without writing custom scripts to inject secrets at deploy time (which is not always possible or desirable, e.g. when using a Kustomize based workflow with standard tooling like ArgoCD).
   
   Is there a plan to add support for this? For instance, with a preprocessing step of plugin configs or adding the option to refer to a config map/value or secret/value in any of the config values?


-- 
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.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1408: feat: Allow use of config maps and secrets in plugin configs

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1408:
URL: https://github.com/apache/apisix-ingress-controller/issues/1408#issuecomment-1291647013

   Do you want something similar to what we did with ApisixConsumer? With a `secretRef` item
   
   https://github.com/apache/apisix-ingress-controller/blob/b734af30604ccd642448c754c65e682bdb36da63/test/e2e/suite-plugins/suite-plugins-authentication/jwt.go#L139-L147


-- 
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


[GitHub] [apisix-ingress-controller] An-DJ commented on issue #1408: feat: Allow use of config maps and secrets in plugin configs

Posted by GitBox <gi...@apache.org>.
An-DJ commented on issue #1408:
URL: https://github.com/apache/apisix-ingress-controller/issues/1408#issuecomment-1328263386

   I'd want to help to solve this. Could it be assigned to me? @tao12345666333 


-- 
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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1408: feat: Allow use of config maps and secrets in plugin configs

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1408:
URL: https://github.com/apache/apisix-ingress-controller/issues/1408#issuecomment-1346601966

   @jnystad #1486 has been merged. It will be introduced in v1.6 version (this week) 


-- 
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


[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #1408: feat: Allow use of config maps and secrets in plugin configs

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #1408: feat: Allow use of config maps and secrets in plugin configs
URL: https://github.com/apache/apisix-ingress-controller/issues/1408


-- 
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


[GitHub] [apisix-ingress-controller] jnystad commented on issue #1408: feat: Allow use of config maps and secrets in plugin configs

Posted by GitBox <gi...@apache.org>.
jnystad commented on issue #1408:
URL: https://github.com/apache/apisix-ingress-controller/issues/1408#issuecomment-1291763821

   Yes, please. And if you include the option to set secret key name as well, that would probably solve the most common use cases.


-- 
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