Add set_memory_request_to_limit option

This commit is contained in:
Sergey Dudoladov
2018-11-08 13:49:30 +01:00
parent 96e3ea9511
commit 90db0e545b
11 changed files with 50 additions and 16 deletions
+1
View File
@@ -104,6 +104,7 @@ type Config struct {
PodTerminateGracePeriod time.Duration `name:"pod_terminate_grace_period" default:"5m"`
ProtectedRoles []string `name:"protected_role_names" default:"admin"`
PostgresSuperuserTeams []string `name:"postgres_superuser_teams" default:""`
SetMemoryRequestToLimit bool `name:"set_memory_request_to_limit" defaults:"false"`
}
// MustMarshal marshals the config or panics