Set statefulset update and management policy explicitly (#515)

* fix logging in retry

* explicitly set the stateful set update strategy to onDelete

* add podManagementPolicy
This commit is contained in:
Sergey Dudoladov
2019-03-13 11:49:18 +01:00
committed by GitHub
parent db72d82f14
commit 0b53dbe5dc
5 changed files with 24 additions and 1 deletions
+1
View File
@@ -109,6 +109,7 @@ type Config struct {
ClusterHistoryEntries int `name:"cluster_history_entries" default:"1000"`
TeamAPIRoleConfiguration map[string]string `name:"team_api_role_configuration" default:"log_statement:all"`
PodTerminateGracePeriod time.Duration `name:"pod_terminate_grace_period" default:"5m"`
PodManagementPolicy string `name:"pod_management_policy" default:"ordered_ready"`
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"`