**What**
- During function creation, accept an array of strings defining swarm secrets
that are required for the service
- Update docs
- Add new guide on using the secrets capability
- Add new sample function to highlight using environment variables
- Update `ApiKeyProtected` sample function to utilize the new secrets
capabilities
**Why**
- This allows secrets to remain encrypted at rest instead of being unencrypted
in environment variables and yaml files.
Fixes#285
Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
Signed-off-by: rgee0 richard@technologee.co.uk
Adaptation of the swarm deployment and the morning coffee blog with changes made to address the differences required to enable the sample function to build and invoke correctly on an ARM. Further work required to accommodate ARM64
This fixes links in the guide/README.md so that they don't point to
master, instead they point to the doc relative to the version of the
README.md you're looking at.
It also removes the section from the DigitalOcean guide on costs, to
avoid the maintainence overhead.
Signed-off-by: John McCabe <john@johnmccabe.net>
This commit adds a guide to getting started with OpenFaaS running on
DigitalOcean, it includes simple single node swarms up to multi-node
behind a DigitalOcean load balancer.
Signed-off-by: John McCabe <john@johnmccabe.net>