Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Update to OFC 0.13.9
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Hey <[email protected]>
  • Loading branch information
Waterdrips authored and alexellis committed May 11, 2020
1 parent 3a1c2a1 commit 9eacb6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example.init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,4 @@ network_policies: false
build_branch: master

## Version of OpenFaaS Cloud from https://github.com/openfaas/openfaas-cloud/releases/
openfaas_cloud_version: 0.13.7
openfaas_cloud_version: 0.13.9
4 changes: 2 additions & 2 deletions pkg/stack/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type authConfig struct {
OAuthProvider string
OAuthProviderBaseURL string
OFCustomersSecretPath string
TLSEnabled bool
TLSEnabled bool
}

type builderConfig struct {
Expand Down Expand Up @@ -119,7 +119,7 @@ func Apply(plan types.Plan) error {
OAuthProvider: plan.SCM,
OAuthProviderBaseURL: plan.OAuth.OAuthProviderBaseURL,
OFCustomersSecretPath: ofCustomersSecretPath,
TLSEnabled: plan.TLS,
TLSEnabled: plan.TLS,
}); ofAuthDepErr != nil {
return ofAuthDepErr
}
Expand Down
5 changes: 1 addition & 4 deletions templates/edge-auth-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,14 @@ spec:
value: "{{.Scheme}}://auth.system.{{.RootDomain}}"
- name: cookie_root_domain
value: ".system.{{.RootDomain}}"

# This is a default and can be overridden
- name: customers_url
value: "{{.CustomersURL}}"

- name: write_debug
value: "false"

# Config for setting the cookie to "secure", set this to true for HTTPS only OAuth
- name: secure_cookie
value: "{{.tls}}"
value: "{{.TLSEnabled}}"


ports:
Expand Down

0 comments on commit 9eacb6e

Please sign in to comment.