mirror of
https://github.com/rancher/types.git
synced 2025-09-24 19:39:13 +00:00
Add norman defaults to etcd snapshots
This commit is contained in:
committed by
Alena Prokharchyk
parent
ff54bd93ca
commit
7df4eae86a
@@ -178,11 +178,11 @@ type ETCDService struct {
|
||||
// External etcd prefix
|
||||
Path string `yaml:"path" json:"path,omitempty"`
|
||||
// Etcd Recurring snapshot Service
|
||||
Snapshot bool `yaml:"snapshot" json:"snapshot,omitempty"`
|
||||
Snapshot bool `yaml:"snapshot" json:"snapshot,omitempty" norman:"default=true"`
|
||||
// Etcd snapshot Retention period
|
||||
Retention string `yaml:"retention" json:"retention,omitempty"`
|
||||
Retention string `yaml:"retention" json:"retention,omitempty" norman:"default=3d"`
|
||||
// Etcd snapshot Creation period
|
||||
Creation string `yaml:"creation" json:"creation,omitempty"`
|
||||
Creation string `yaml:"creation" json:"creation,omitempty" norman:"default=12h"`
|
||||
}
|
||||
|
||||
type KubeAPIService struct {
|
||||
|
Reference in New Issue
Block a user