mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-08 15:51:19 +02:00
make pod termination grace period configurable
This commit is contained in:
@@ -63,6 +63,8 @@ type Config struct {
|
||||
Workers uint32 `name:"workers" default:"4"`
|
||||
APIPort int `name:"api_port" default:"8080"`
|
||||
RingLogLines int `name:"ring_log_lines" default:"100"`
|
||||
|
||||
PodTerminateGracePeriod time.Duration `name:"pod_terminate_grace_period" default:"5m"`
|
||||
}
|
||||
|
||||
// MustMarshal marshals the config or panics
|
||||
|
||||
Reference in New Issue
Block a user