From 9ec408a78ef032b1deee90905f2d706c4fdd9c27 Mon Sep 17 00:00:00 2001 From: rawmind0 Date: Mon, 18 Jan 2021 15:34:10 +0100 Subject: [PATCH] [2.4] Added timeout field to BackupConfig type --- apis/management.cattle.io/v3/backup_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis/management.cattle.io/v3/backup_types.go b/apis/management.cattle.io/v3/backup_types.go index 35bcc26d..8a58a6ce 100644 --- a/apis/management.cattle.io/v3/backup_types.go +++ b/apis/management.cattle.io/v3/backup_types.go @@ -23,6 +23,8 @@ type BackupConfig struct { S3BackupConfig *S3BackupConfig `yaml:",omitempty" json:"s3BackupConfig"` // replace special characters in snapshot names SafeTimestamp bool `yaml:"safe_timestamp" json:"safeTimestamp,omitempty"` + // Backup execution timeout + Timeout int `yaml:"timeout" json:"timeout,omitempty" norman:"default=300"` } type S3BackupConfig struct {