openfaas / faas

OpenFaaS - Serverless Functions Made Simple
https://www.openfaas.com
MIT License
25.18k stars 1.94k forks source link

UI: setting environment variables in manual deployments #471

Closed jrevillas closed 4 years ago

jrevillas commented 6 years ago

I want to add support for environment variables while deploying new functions through the UI. This operation is currently supported by API Gateway and faas-cli, but the UI needs to be updated in order to handle these dynamic inputs. And since this is a common task, here you have some different approaches for the same "UX challenge".

Heroku

Note that we are currently working in a modal, so let's try to avoid new ones. You can find another approach from the new AWS Lambda console here. Also, check out this one from Portainer.

ericstoekl commented 6 years ago

Derek add label: proposal

ericstoekl commented 6 years ago

@alexellis I think this is a reasonable suggestion. Maybe someone like @kenfdev would like to look into it? :)

alexellis commented 6 years ago

Yes I agree. Javier I think is starting to mock one of the options up for us.

alexellis commented 6 years ago

@ovation22 @kenfdev as #TeamServerlessUI what do you think?

kenfdev commented 6 years ago

I agree about adding this feature because currently we can't inject envs via the UI. I'd like to take this forward but am struggling to make some time. It's going to take a while for me to do this so if somebody else can pick it up, it would really help.

alexellis commented 6 years ago

Derek add label: Hacktoberfest

Waterdrips commented 4 years ago

/close This is possible in the UI