ff9f7a5541
Make debugging less verbose
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-02-01 09:37:05 +00:00
f954bf0733
Merge master into breakout_swarm
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-02-01 09:29:54 +00:00
e8f8231c39
Update README.md
2018-01-28 09:45:59 +00:00
262b0afda7
Make gateway compatible with Prometheus 1.0 and 2.0
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-01-13 09:32:49 +00:00
f2baa956b5
Add re-direct for ARMHF function store
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-12-30 09:34:18 +00:00
979e44bf8c
Escape PromQL query
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-12-29 16:39:24 +00:00
fe7dd9068f
Remove code duplicated during a rebase
...
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com >
2017-12-16 16:08:52 +00:00
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
7c28f7d97e
Add label support to Swarm
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-12-16 16:08:52 +00:00
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
3502c67d88
Allow valid UI label values
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-12-13 14:29:56 +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
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
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
78a4580ead
Allow CORS to GitHub raw
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-29 09:48:58 +01:00
62a5cfc385
Bump queue worker for alexellis->openfaas org naming
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-23 13:02:16 +00:00
5bac6c1961
Bump for nats producer change
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-23 12:57:02 +00:00
59d46938fe
Tooltips
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-22 19:32:32 +00:00
86c83f0dcd
Fix JSON serialization relying on response content
...
Signed-off-by: Javier Revillas <jrevillas@massivedynamic.io >
2017-11-20 10:32:42 +00:00
9783f96f7b
Enable client response time in the UI
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-18 09:20:02 +00:00
b17838ce51
Add Swarm limits
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-15 08:42:00 +00:00
fb1b35b6eb
Don't buffer body / response into memory
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-11 15:39:34 +00:00
d929ec191a
Bump 64-bit ARM
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-09 12:54:44 +00:00
00bb13cccd
Bump go version to 1.8.5
...
Signed-off-by: John McCabe <john@johnmccabe.net >
2017-11-09 11:48:53 +00:00
b92b0926fa
Add license-check
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-06 19:40:24 +00:00
0d45ee9149
Pass on method
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-06 09:30:01 +00:00
c132195a5c
Simple switch to enable 'GET' method'
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-06 09:30:01 +00:00
b2c579370a
Return labels in functions list endpoint
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-05 20:11:47 +00:00
981cf854fb
Remove old build script
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-11-03 15:56:43 +00:00
c81418e5a8
Switch to armv6 and multi-arch for runtime image
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-10-29 21:38:13 +00:00
4889c779b7
Verify prometheus results are mixed into function list
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-10-29 15:21:23 +00:00
8363532751
Set content-type for mixed-in Prometheus results
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-10-29 15:21:23 +00:00
28d3e330c2
Support NATS.io streaming on ARMHF
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-10-27 15:41:21 +00:00
0248a5ea1d
Return 500 if GET /system/functions fails
...
Signed-off-by: Alex Young <alex@heuris.io >
2017-10-27 15:38:03 +01:00
12a0c75e91
Add unit tests to build. Pin to specific Alpine tag.
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-10-26 21:02:50 +01:00
ec60d97518
Report async execution duration
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-10-25 19:40:33 +01:00
be4eea92a1
Add spinner during funciton invoke in the web ui
...
**What**
- Add a simple sinner when the function is invoked
- Disable the invoke button until the request returns
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com >
2017-10-24 18:17:26 +01:00
c92b462f36
Target blank for Logo / Link in Gateway UI
2017-10-23 17:38:03 +01:00
533118adbb
Add link to www.openfaas.com on OpenFaaS Icon.
...
Signed-off-by: Thom Toogood <thomtoogood@gmail.com >
2017-10-23 17:35:02 +01:00
06f0a2c953
add docs for GatewayConfig like WatchdogConfig
...
Signed-off-by: Elliott Beach <elliott2.71828@gmail.com >
2017-10-23 16:22:51 +01:00