- Jun 19, 2019
-
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 17, 2019
-
-
Burton Rheutan authored
The customize button was redundant to the custom tab This could lead to confusion with the user experience, so the additional button has been removed. Signed-off-by:
Burton Rheutan <rheutan7@gmail.com>
-
- Jun 16, 2019
-
-
Burton Rheutan authored
This adds some additional videos from previous talks at Dockercon that have not yet been included Signed-off-by:
Burton Rheutan <rheutan7@gmail.com>
-
Radoslav Dimitrov authored
Signed-off-by:
Radoslav Dimitrov <rdimitrow@gmail.com>
-
Ron Rivera authored
Signed-off-by:
Ron Rivera <roncrivera@gmail.com>
-
Sargun Dhillon authored
This enables limiting concurrency. It is a naive approach which will reject requests as soon as they exceed the maximum number of in-flight requests. It is a port of the following PR from the new watchdog code: https://github.com/openfaas-incubator/of-watchdog/pull/54 Signed-off-by:
Sargun Dhillon <sargun@sargun.me> Signed-off-by:
Lucas Roesler <roesler.lucas@gmail.com>
-
Richard Gee authored
Detail was removed on 10th June with a comment that it will be enabled once GitHub provide access to the beta. This access was provided on 12th June hence re-enabling. Signed-off-by:
Richard Gee <richard@technologee.co.uk>
-
Burton Rheutan authored
Adding additional inputs for Environment variables, Secrets, Labels, and annotations so that more advanced functions can be deployed through the UI. This also allows more advanced functions to be provided via the store. Allowing modification to secret values, and environment variables which will allow functions like a Slack Bot function to be deployed through the store adn configured with an environment variable Signed-off-by:
Burton Rheutan <rheutan7@gmail.com>
-
- Jun 15, 2019
-
-
Vivek Singh authored
Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
Julien Bisconti authored
Signed-off-by:
Julien Bisconti <julien.bisconti@gmail.com>
-
- Jun 14, 2019
-
-
Alex Ellis authored
Adds package to armhf / arm64 for use with plugins. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
This corrects an issue where the error body was being hidden for the external auth handler. It also adds the ca-certs into the runtime Docker image for when the gateway is calling an external plugin exposed over HTTPS. Tested with OAuth2 plugin. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 11, 2019
-
-
Kevin Turcios authored
Signed-off-by:
Kevin Turcios <kevin_turcios@outlook.com>
-
- Jun 10, 2019
-
-
Alex Ellis authored
-
- Jun 09, 2019
-
-
Alex Ellis authored
Fixes a problem where basic auth was disabled and a nill pointer was hit, causing a panic. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
This commit moves the OpenFaaS gateway from using in-process basic-auth for everything to use an external auth URL instead. When auth is not enable, this functionality is not added to the handlers and behaves as before. When enabled, the configured plugin with authenticate requests. Tested on Docker Swarm with positive and negative tests. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 08, 2019
-
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 07, 2019
-
-
Alex Ellis authored
Fixes issue by adding unit test to make sure the body from the plugin is written correctly and proxied to the client. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Fix for external auth wrapper handler. Written by introducing a broken unit test. Whenever the auth plugin returns a request as not authorized, we must pass back any headers set by the plugin. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Fixes issue found in e2e testing where the headers were not being passed to the basic-auth-plugin. This change makes sure the upstream check gets all headers copied in before making the call. Tested with negative unit tests before writing fix. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 06, 2019
-
-
Carlos Panato authored
Signed-off-by:
Carlos Panato <ctadeu@gmail.com>
-
Carlos Panato authored
Signed-off-by:
Carlos Panato <ctadeu@gmail.com>
-
Alex Ellis authored
As part of #1209, this change deploys, but does not enable the new basic-auth plugin service. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 05, 2019
-
-
Vivek Singh authored
Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
These two functions are effectively the same, with the former being a wrapper for the later. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
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>
-
Alex Ellis authored
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>
-
Alex Ellis authored
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>
-
Alex Ellis authored
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>
-
Alex Ellis authored
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>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
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>
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-