1
0
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:
galal-hussein
2018-11-01 23:18:16 +02:00
committed by Alena Prokharchyk
parent ff54bd93ca
commit 7df4eae86a

View File

@@ -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 {