Commit Graph

1756 Commits

Author SHA1 Message Date
35508ac70b Add explicit deadline for auth request
An explicit timeout is passed to the handler and a new unit test
proves that the functionality is in place. A additional return
statement was needed in the handler as pointed out by
@stefanprodan.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:49 +01:00
a66097a9f9 Add config options for auth proxy
Adds two new environment variables and unit tests to validate
positive and default use-cases.

auth_proxy_url
auth_proxy_pass_body

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:49 +01:00
5b2a037e7e Add external auth handler
This commit adds an external auth handler which can be used to
wrap existing handlers, so that they delegate their requests
to an upstream URL before allowing a request to pass through
to an upstream API.

New handler tested with unit tests.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:49 +01:00
c48be47db9 Copy response headers back to client
Headers such as Realm / etc are important for auth proxies, so
this change and unit test make sure they get copied back to the
client.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:39 +01:00
95d4d50e8e Update handler path
As per comment from @stefanprodan, the path for the handler
was incorrect in the run stage of the Dockerfile.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:39 +01:00
49b7c03285 Add unit test for returning headers
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:39 +01:00
3edf499fac Add configuration options
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:39 +01:00
d6ef9cba43 Add errors package
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:39 +01:00
02cf70c6f5 Add basic auth plugin
This plugin can be tested as a stand-alone Golang app, or
deployed as a Docker image with the following image:
openfaas/basic-auth-plugin:0.1.0

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 18:13:39 +01:00
6ff02b6de9 Update order of sponsorship links
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-05 08:53:26 +01:00
89e6b5d3f2 Added link to blogpost about running bikeshare functions with openfaas
Signed-off-by: andmos <andreas.mosti@gmail.com>
2019-06-05 07:31:04 +01:00
ff45689616 Try to re-order links
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-04 22:59:41 +01:00
3d69bb3804 De-dupe CommunityBridge link
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-04 22:58:33 +01:00
e9ca4628db Update funding file for Community Bridge URL
Update funding file for Community Bridge URL
    
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-04 22:57:06 +01:00
0449addbf1 Add funding file
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-04 22:54:55 +01:00
303e37a47b Add ContainerWorld presentation to 2019 events
Signed-off-by: Carson Anderson <ca@carsonoid.net>
2019-05-28 17:12:32 +01:00
0a1e78abea Add 2 videos to community file
Adding the recording of the Dockercon OpenSource Summit: Serverless
as well as the code.talks Live Example to the community file

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-05-28 15:04:52 +01:00
5f5f343fc1 Adding event in community file
Adding event OpenFaaS - mit Docker einfach Serverless
to the Events in the community.md file

Signed-off-by: Martin Dekov <mdekov@vmware.com>
2019-05-27 11:59:00 +01:00
59956b1070 Adding event in Ratingen Germany
Adding event OpenFaaS - mit Docker einfach Serverless by
Frank Pommerening in Ratingen Germany to community file

Signed-off-by: Martin Dekov <mdekov@vmware.com>
2019-05-27 09:23:30 +01:00
364a43088c Enable experimental Docker CLI
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-26 20:17:33 +01:00
64904b163f Enable experimental CLI for manifests
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-26 20:05:47 +01:00
a03196342d Push multi-arch image for watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-26 19:51:06 +01:00
edf53966ab Adds ContainerDays EU and terraform provider talk
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-05-26 11:47:45 +01:00
5224dcc875 Added GBFS bikeshare integration function for example repos
Changed description

Signed-off-by: andmos <andreas.mosti@gmail.com>
2019-05-25 17:55:26 +01:00
5bb293e235 Add OHV blog post to community
Discovered blog post via Twitter and added with other posts to community file

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-05-24 21:42:30 +01:00
497afce51e Add Blockchain as a service event
Adding event in Seattle, USA about blockchain with openfaas
and docker by Dean Shelton

Signed-off-by: Martin Dekov <mdekov@vmware.com>
2019-05-24 17:03:58 +02:00
a485c302c4 Add blog post and openfaas templates
Signed-off-by: Matias Pan <matias.pan26@gmail.com>
2019-05-16 19:55:06 +01:00
74a7584f8f Updates faas-swarm to current release 6.2
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-05-14 10:31:23 +01:00
939a9befec Add missing blogs from openfaas.com
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-14 08:24:39 +01:00
3675db0ef0 Added a new blog entry to the community file
Signed-off-by: Erwin Staal <info@staal-it.nl>
2019-05-14 08:09:57 +01:00
f511feb140 Add ARM64 Docker images for Prom/AlertManager
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-09 11:19:16 +00:00
c73e065f71 Added teqnation talk
Added teqntaion talk to events

Signed-off-by: Arno Broekhof <arnobroekhof@gmail.com>
2019-05-08 20:47:26 +01:00
b512afd263 Update community.md
Added a new blog entry

Signed-off-by: Erwin Staal <erwinstaal@gmail.com>
2019-05-08 20:47:01 +01:00
e84ba2e7e7 Update KubeCon names
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-08 16:50:01 +01:00
c211e6629f Add OpenFaaS in-person workshop by Ferenc
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-07 18:27:09 +01:00
139062173a Bump compose to use gateway_invoke for nats-queue-worker
This change means the gateway is used to invoke functions
asynchronously rather than directly so that the scale from zero
path can execute.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-07 18:18:11 +01:00
681d8841e3 Add blog by Prasenjit
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-07 17:18:12 +01:00
3e50256576 Add new events for KubeCon and week leading up
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-07 16:51:36 +01:00
5056ad0e5e Add Dockercon Serverless Summit to community
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-04-27 09:20:19 +01:00
fb101fc3c5 Ensure contib prom docker tags match the installed version
**What**
- For each prometheus and alert manager contrib makefile, ensure that
the docker tag matches the version installed in the dockerfile.  This
will ensure that no one pushes mistmatched versions

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-04-27 09:18:35 +01:00
8d8a59bce5 Add newer Prometheus/alertmanager Dockerfiles
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-26 16:07:01 +01:00
2f15a62443 Correct swagger req description for /system/alert
Closes #1168

Signed-off-by: Jannik Hollenbach <Jannik.Hollenbach@iteratec.de>
2019-04-25 16:46:40 +01:00
9eafa0bfd7 Create one watchdog image per arch
Signed-off-by: Richard Gee <richard@technologee.co.uk>
2019-04-25 14:01:32 +01:00
5e2112af50 Bundle watchdog binaries into an image
Signed-off-by: Richard Gee <richard@technologee.co.uk>
2019-04-25 14:01:32 +01:00
e903f0ef73 Update sentiment-analysis to non-root user
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 19:03:17 +01:00
61d3c1d20e Update portal image
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 17:29:50 +01:00
5ebad64fc3 Update note on participation in Zoom calls
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 10:32:31 +01:00
e2454fb66c Update Slack participation for members
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 10:15:13 +01:00
2784268280 Update wording
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 10:07:26 +01:00
745b6f24fe Update membership expectations
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 10:04:13 +01:00