mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 15:53:26 +00:00
Disable scaling from zero by default
This disables the scaling proxy by default since it is not the default user-experience and is still under refinement. Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
a1c2c553a5
commit
c58af8da56
@ -150,16 +150,13 @@ type GatewayConfig struct {
|
||||
// If set this will be used to resolve functions directly
|
||||
DirectFunctionsSuffix string
|
||||
|
||||
<<<<<<< HEAD
|
||||
// If set, reads secrets from file-system for enabling basic auth.
|
||||
UseBasicAuth bool
|
||||
|
||||
// SecretMountPath specifies where to read secrets from for embedded basic auth
|
||||
SecretMountPath string
|
||||
=======
|
||||
// Enable the gateway to scale any service from 0 replicas to its configured "min replicas"
|
||||
ScaleFromZero bool
|
||||
>>>>>>> Add scale_from_zero flag
|
||||
}
|
||||
|
||||
// UseNATS Use NATSor not
|
||||
|
Reference in New Issue
Block a user