Skip to content

Releases: openfaas/faas-provider

Add Secret to structs

05 Aug 12:20
Compare
Choose a tag to compare
Add Secret struct

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>

Port models from openfaas/faas gateway

05 Aug 11:30
Compare
Choose a tag to compare
Port models from gateway

This patch moves types from the requests package of the gateway
into faas-provider, so that providers will no longer have to
vendor the gateway package.

Ref: https://github.com/openfaas/faas/issues/565

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>

Update logging interface

06 Jul 11:31
Compare
Choose a tag to compare
Fix import of httputils and add travis CI

**What**
- Fix a broken rename in the proxy code, it was referenceing `httputils`
instead of the correct `httputil`
- Add a travis config to help ensure that the project is compilable

Signed-off-by: Lucas Roesler <[email protected]>

Define the logging interface

22 Jun 07:52
Compare
Choose a tag to compare

Changelog:

Allows providers to provide logs via a stream

Allow override for secret name paths

08 Jun 09:08
Compare
Choose a tag to compare
Basic auth username/password can be read from any
path required.

Signed-off-by: Alex Ellis <[email protected]>

Rename health handler

02 May 23:24
Compare
Choose a tag to compare

Changelog:

Add /system/secrets

30 Dec 14:38
Compare
Choose a tag to compare

Changelog:

Break out function proxy code

04 Nov 13:19
Compare
Choose a tag to compare

Changelog:

Allow basic auth decoration

10 Sep 10:00
Compare
Choose a tag to compare

Protected/system endpoints can now be decorated with basic auth

// FaaSConfig set config for HTTP handlers
type FaaSConfig struct {
	TCPPort         *int
	ReadTimeout     time.Duration
	WriteTimeout    time.Duration
	EnableHealth    bool
	EnableBasicAuth bool
	SecretMountPath string
}

Set EnableBasicAuth to true and populate the value for SecretMountPath.

Include basic-auth packages

06 Sep 15:03
Compare
Choose a tag to compare

Moves out middle-ware and loading code from gateway in openfaas/faas.