1
0
mirror of https://github.com/rancher/types.git synced 2025-07-16 06:25:50 +00:00

Disable update on some etcdbackup fields

This commit is contained in:
rajashree 2019-08-22 10:54:26 -07:00 committed by Alena Prokharchyk
parent 39870f5624
commit 6adafad92a

View File

@ -54,13 +54,13 @@ type EtcdBackup struct {
type EtcdBackupSpec struct {
// cluster ID
ClusterID string `json:"clusterId,omitempty" norman:"required,type=reference[cluster]"`
ClusterID string `json:"clusterId,omitempty" norman:"required,type=reference[cluster],noupdate"`
// manual backup flag
Manual bool `yaml:"manual" json:"manual,omitempty"`
// actual file name on the target
Filename string `yaml:"filename" json:"filename,omitempty"`
Filename string `yaml:"filename" json:"filename,omitempty" norman:"noupdate"`
// backupConfig
BackupConfig BackupConfig `yaml:",omitempty" json:"backupConfig,omitempty"`
BackupConfig BackupConfig `yaml:",omitempty" json:"backupConfig,omitempty" norman:"noupdate"`
}
type EtcdBackupStatus struct {