Commit Graph

833 Commits

Author SHA1 Message Date
35f0e9e657 Clean up docs and refactor createhandler
**What**
- Add a description for the secret key to the api swagger spec.
- Remove optional examples from the secret management guide.
- Update the ApiKeyProtected README to point at the new guide.
- Refactor the `makeSpec` function to accept the already assembled secrets
array because this should be easier to unit test.

Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
2017-12-16 16:08:52 +00:00
5dce1deb21 Add advanced secret management
**What**
- Add the ability to specify secrets as a csv
- Vendor the docker/cli/opts
- Update the guide for secrets to use the `faas-cli`

**Why**
- Allowing the csv specification of secrets gives users more control about how
those secrets are mounted into the container.  This is good for things like
key rotation and for developers that are building on top of OpenFaaS.

Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
2017-12-16 16:08:52 +00:00
0fef825fb4 Add support to specify secrets in services
**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>
2017-12-16 16:08:52 +00:00
cc103ada94 added repo link to func store. will open repo page on new window or tab
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-12-16 16:04:59 +00:00
4d785c8dfb Remove Content-Type forwarding from Request
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2017-12-16 16:04:20 +00:00
d279b7b304 Update traefik_integration.md 2017-12-15 17:48:57 +00:00
3502c67d88 Allow valid UI label values
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:29:56 +00:00
efebf2e217 Bump gateway to 0.6.14
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:21:53 +00:00
dc37d131be Don't override X-Call-Id if it already exists in header
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:18:44 -08:00
b1e92f6b93 Add call-id via middleware
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:18:44 -08:00
e6eec64c0d UI: allow binary download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
5c8bb37bfb Experimental UI download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
ca34fd0ed1 Adds env-vars to store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-12 06:51:04 -08:00
f5f83d7c05 * Added blog post to community
* Added blog post related to CI/CD to the guides

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-12-11 07:23:20 -08:00
be2373ab81 Update last description added 2017-12-10 21:23:11 -08:00
049a2737d2 Added entry in blogs section for Functions as a Service with openFaas
Signed-off-by: Mauricio Farache <mauricio.farache@piksel.com>
2017-12-10 23:21:52 -06:00
821263b437 Add Richard to the backers file 2017-12-06 10:18:37 -06:00
6304409446 Correct to 20 replicas
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
3d210f1ff2 Extract handler_set.go
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
23a7187435 Refactoring: variable names, adding tests and http constants
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
2452fdea0b Allow min-scale
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
12c5f4926e Adding BurtonR to list of maintainers
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2017-12-04 07:29:10 -06:00
613ac888cd Add blog post from Eric to community.md
Add "Deploying OpenFaaS on Kubernetes  - AWS" to community.md file

Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2017-12-03 18:37:39 -06:00
26cc628fd1 Update community.md 2017-12-03 15:58:38 -06:00
006299c9d8 Mention X-Callback-Url 2017-12-03 09:50:33 -06:00
6a75e78d65 Add 2x new backers 2017-12-02 22:38:25 -06:00
1959ea1b41 Update pending to backers! 2017-12-02 16:12:23 -06:00
676c34f17a Update deployment_k8s.md 2017-12-01 10:20:57 +00:00
f26e884e7d Update backends.md 2017-11-30 16:43:56 +00:00
9b6e464585 Update docker-compose.extended.yml 2017-11-30 16:08:51 +00:00
53f092d150 Update README.md 2017-11-30 09:21:49 +00:00
2949a7a1d1 Bump versions for store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-30 10:08:58 +01:00
aba3a8ca2d * Added function store feature to the "Deploy New Function"
* This feature fetches function catalogs from openfaas/store and makes
  one-click deploy easy
  * You can switch between "From Store" or "Manually" by tabs

* Added icon to "Deploy New Function" button
* Added function search feature to the main UI

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>

reverted fixed tabs

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-11-30 09:55:52 +01:00
a0460693f5 Update README.md 2017-11-30 00:07:13 +00:00
00263e84dd updated OpenFaaS Dashboard to include original and new dashboards with screenshots
Signed-off-by: Brian Christner <brian.christner@gmail.com>
2017-11-30 01:06:28 +01:00
f046f1175a signed and added Grafana Dashboard
Signed-off-by: Brian Christner <brian.christner@gmail.com>
2017-11-30 01:06:28 +01:00
bc16d125bf Lock down Prometheus Alertmanager and NATS ports by default (#378)
* Stop exposing Alertmanager and NATS ports

This commit stops exposing the Prometheus Alertmanager and NATS ports by
default on Swarm.

The respective sections are commented out with a note on re-enabling
them.

Signed-off-by: John McCabe <john@johnmccabe.net>

* Revert queue-worker dev tag in yaml

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-11-30 01:05:09 +01:00
1aa6270fcc Update asynchronous.md
Fixing typo

Signed-off-by: abhi <abhi@docker.com>
2017-11-30 01:02:58 +01:00
78a4580ead Allow CORS to GitHub raw
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-29 09:48:58 +01:00
d20cdf561c Update with the new backers 2017-11-27 22:54:00 +00:00
e66357bd5a Update docker-compose.yml 2017-11-26 22:49:53 +00:00
f174c5e3ec Update docker-compose.extended.yml 2017-11-26 22:49:49 +00:00
79cf89ac02 2x more backers, thanks! 2017-11-26 22:26:24 +00:00
38d5413f73 Update BACKERS.md 2017-11-26 15:52:29 +00:00
1aa458baeb Update README.md 2017-11-26 09:55:19 +00:00
70895f00b9 Update BACKERS.md 2017-11-26 09:54:41 +00:00
a2ffe37a33 Update performance_testing.md 2017-11-25 11:01:13 +00:00
d82db4960a Create performance_testing.md 2017-11-25 09:42:59 +00:00
39211f47fc Expand memory limits for GW 2017-11-25 08:59:03 +00:00
81645789b1 Expand limits for GW 2017-11-25 08:58:53 +00:00