1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 15:06:23 +00:00

Added etcd snapshot timeout parameter

This commit is contained in:
rawmind0
2021-01-22 18:35:13 +01:00
parent e395badf82
commit 1880404fc3
4 changed files with 28 additions and 4 deletions

View File

@@ -21,6 +21,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 {