Set schedule labels to subsequent backups

Signed-off-by: Zsolt Varga <zsolt.varga@console.hu>
This commit is contained in:
Zsolt Varga
2018-09-06 10:06:18 +02:00
parent 283a1349bd
commit 211aa7b7fd
3 changed files with 53 additions and 3 deletions
+1
View File
@@ -104,6 +104,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
ObjectMeta: metav1.ObjectMeta{
Namespace: f.Namespace(),
Name: o.BackupOptions.Name,
Labels: o.BackupOptions.Labels.Data(),
},
Spec: api.ScheduleSpec{
Template: api.BackupSpec{