mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
Add auth proxy env-vars to gateway for ARM
The two docker compose files for ARM based systems were not configured to pass the auth_proxy variables through to the gateway at deploy time. This was causing an error in the gateway which would manifest in the CLI and UI as: `ExternalAuthHandler: Get : unsupported protocol scheme ""`. This change adds `auth_proxy_url` & `auth_proxy_pass_body` to the two ARM compose files so as to mirror the config of the x86_64 compose file. Signed-off-by: Richard Gee <richard@technologee.co.uk>
This commit is contained in:
parent
60fccd5992
commit
d6cf16651a
@ -21,6 +21,8 @@ services:
|
|||||||
scale_from_zero: "true" # Enable if you want functions to scale from 0/0 to min replica count upon invoke
|
scale_from_zero: "true" # Enable if you want functions to scale from 0/0 to min replica count upon invoke
|
||||||
max_idle_conns: 1024
|
max_idle_conns: 1024
|
||||||
max_idle_conns_per_host: 1024
|
max_idle_conns_per_host: 1024
|
||||||
|
auth_proxy_url: "${AUTH_URL:-}"
|
||||||
|
auth_proxy_pass_body: "false"
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
# limits: # Enable if you want to limit memory usage
|
# limits: # Enable if you want to limit memory usage
|
||||||
|
@ -21,6 +21,8 @@ services:
|
|||||||
scale_from_zero: "true" # Enable if you want functions to scale from 0/0 to min replica count upon invoke
|
scale_from_zero: "true" # Enable if you want functions to scale from 0/0 to min replica count upon invoke
|
||||||
max_idle_conns: 1024
|
max_idle_conns: 1024
|
||||||
max_idle_conns_per_host: 1024
|
max_idle_conns_per_host: 1024
|
||||||
|
auth_proxy_url: "${AUTH_URL:-}"
|
||||||
|
auth_proxy_pass_body: "false"
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
# limits: # Enable if you want to limit memory usage
|
# limits: # Enable if you want to limit memory usage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user