837 Commits

Author SHA1 Message Date
Lucas Roesler
fe7dd9068f Remove code duplicated during a rebase
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
Lucas Roesler
156103e2db Update the sample functions
**What**
- Move the new secrets sample function to ApiKeyProtected-Secrets
- Bring back the original ApiKeyProtected sample function

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
Lucas Roesler
1a055deb49 Add secret management to the update handler
**What**
- Pass secrets to the updateSpec method

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
Alex Ellis
7c28f7d97e Add label support to Swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-16 16:08:52 +00:00
Lucas Roesler
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
Lucas Roesler
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
Lucas Roesler
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
Ken Fukuyama
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
Eric Stoekl
4d785c8dfb Remove Content-Type forwarding from Request
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2017-12-16 16:04:20 +00:00
Alex Ellis
d279b7b304
Update traefik_integration.md 2017-12-15 17:48:57 +00:00
Alex Ellis
3502c67d88 Allow valid UI label values
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:29:56 +00:00
Alex Ellis
efebf2e217 Bump gateway to 0.6.14
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:21:53 +00:00
Alex Ellis
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
Alex Ellis
b1e92f6b93 Add call-id via middleware
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:18:44 -08:00
Alex Ellis
e6eec64c0d UI: allow binary download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
Alex Ellis
5c8bb37bfb Experimental UI download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
Alex Ellis
ca34fd0ed1 Adds env-vars to store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-12 06:51:04 -08:00
Ken Fukuyama
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
Alex Ellis
be2373ab81
Update last description added 2017-12-10 21:23:11 -08:00
Mauricio Farache
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
Alex Ellis
821263b437
Add Richard to the backers file 2017-12-06 10:18:37 -06:00
Alex Ellis
6304409446 Correct to 20 replicas
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
Alex Ellis
3d210f1ff2 Extract handler_set.go
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
Alex Ellis
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
Alex Ellis
2452fdea0b Allow min-scale
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
Burton Rheutan
12c5f4926e Adding BurtonR to list of maintainers
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2017-12-04 07:29:10 -06:00
Eric Stoekl
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
Alex Ellis
26cc628fd1
Update community.md 2017-12-03 15:58:38 -06:00
Alex Ellis
006299c9d8
Mention X-Callback-Url 2017-12-03 09:50:33 -06:00
Alex Ellis
6a75e78d65
Add 2x new backers 2017-12-02 22:38:25 -06:00
Alex Ellis
1959ea1b41
Update pending to backers! 2017-12-02 16:12:23 -06:00
Alex Ellis
676c34f17a
Update deployment_k8s.md 2017-12-01 10:20:57 +00:00
Alex Ellis
f26e884e7d
Update backends.md 2017-11-30 16:43:56 +00:00
Alex Ellis
9b6e464585
Update docker-compose.extended.yml 2017-11-30 16:08:51 +00:00
Alex Ellis
53f092d150
Update README.md 2017-11-30 09:21:49 +00:00
Alex Ellis
2949a7a1d1 Bump versions for store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-30 10:08:58 +01:00
Ken Fukuyama
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
Alex Ellis
a0460693f5
Update README.md 2017-11-30 00:07:13 +00:00
Brian Christner
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
Brian Christner
f046f1175a signed and added Grafana Dashboard
Signed-off-by: Brian Christner <brian.christner@gmail.com>
2017-11-30 01:06:28 +01:00
John McCabe
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
Abhinandan Prativadi
1aa6270fcc Update asynchronous.md
Fixing typo

Signed-off-by: abhi <abhi@docker.com>
2017-11-30 01:02:58 +01:00
Alex Ellis
78a4580ead Allow CORS to GitHub raw
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-29 09:48:58 +01:00
Alex Ellis
d20cdf561c
Update with the new backers 2017-11-27 22:54:00 +00:00
Alex Ellis
e66357bd5a
Update docker-compose.yml 2017-11-26 22:49:53 +00:00
Alex Ellis
f174c5e3ec
Update docker-compose.extended.yml 2017-11-26 22:49:49 +00:00
Alex Ellis
79cf89ac02
2x more backers, thanks! 2017-11-26 22:26:24 +00:00
Alex Ellis
38d5413f73
Update BACKERS.md 2017-11-26 15:52:29 +00:00
Alex Ellis
1aa458baeb
Update README.md 2017-11-26 09:55:19 +00:00
Alex Ellis
70895f00b9
Update BACKERS.md 2017-11-26 09:54:41 +00:00