You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/01/30 14:11:22 UTC

[GitHub] [pulsar] KannarFr opened a new issue #6170: Support system env var as functions parameters

KannarFr opened a new issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170
 
 
   **Is your feature request related to a problem? Please describe.**
   Hi, I'd like to use YAML functions configurations files to pass creds to functions, but I still want use versioned YAML configurations file without have creds in repo.
   
   **Describe the solution you'd like**
   Something in the YAML description that uses `runtimeFlags: -Denv1=${SYSTEM_ENV1}...`
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] KannarFr commented on issue #6170: Support system env var as functions parameters

Posted by GitBox <gi...@apache.org>.
KannarFr commented on issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170#issuecomment-583918269
 
 
   Hi @jiazhai and @wolfstudy, 
   
   The idea I shared is to pass system env vars to the function using the YAML configuration. 
   
   On functions create/update, function worker gets the system env var matching `SYSTEM_ENV1` when `runtimeFlags: -Denv1=${SYSTEM_ENV1}` is defined and replaces it in the injected runtime flags.
   
   WDYT?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] sijie commented on issue #6170: Support system env var as functions parameters

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170#issuecomment-587244431
 
 
   @KannarFr - @nlu90 has sent out a pull request about this feature. please check if it meets your requirements.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] KannarFr commented on issue #6170: Support system env var as functions parameters

Posted by GitBox <gi...@apache.org>.
KannarFr commented on issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170#issuecomment-587468938
 
 
   @sijie commented on PR.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] jiazhai commented on issue #6170: Support system env var as functions parameters

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170#issuecomment-581234088
 
 
   also added @wolfstudy and @EronWright in this thread. What is your idea on this issue? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] sijie closed issue #6170: Support system env var as functions parameters

Posted by GitBox <gi...@apache.org>.
sijie closed issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] jiazhai edited a comment on issue #6170: Support system env var as functions parameters

Posted by GitBox <gi...@apache.org>.
jiazhai edited a comment on issue #6170: Support system env var as functions parameters
URL: https://github.com/apache/pulsar/issues/6170#issuecomment-581234088
 
 
   also added @wolfstudy  in this thread. What is your idea on this issue? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services