openfaas-incubator / faas-rancher

Serverless with Rancher 1.x and (OpenFaaS)
https://github.com/openfaas/faas
MIT License
23 stars 7 forks source link

No Secrets ? #1

Closed lecler-i closed 6 years ago

lecler-i commented 6 years ago

Hello,

I just set-up openfaas and playing arround with rancher... But rancher driver for faas doen't implement secrets ?

I have to manually set the secret myself on the newly created container...

https://github.com/openfaas/faas-netes/blob/master/SECRETS.md

It would be nice to add cattle secrets listed in the stack.yml when deploying the rancher container

alexellis commented 6 years ago

Hi there, @kenfdev may be able to speak to this. I'm not sure about your Rancher setup. Maybe you can list all the details and versions you are using? If in doubt regular Kubernetes is well-tested and fully working.

kenfdev commented 6 years ago

Hi @lecler-i ! Thanks for using faas-rancher. Secrets aren't supported for faas-rancher and if I remember correctly, rancher 1.x never reached stable for secrets. And I'm assuming it won't be stable anymore because the cattle scheduler is going to be replaced with kubernetes. I suggest you try out Rancher 2.0 since it reached beta a few days ago. It's kubernetes under the hood and therefore faas-netes works the same as in any other kubernetes cluster.

alexellis commented 6 years ago

Thank you for answering Ken. Also if you'd rather not use a beta service right now with 2.0 you could use OpenFaaS directly with Kubernetes too.