use custmom schedule

This commit is contained in:
Sergey Dudoladov 2019-03-07 13:22:35 +01:00
parent 825c5139c3
commit bc0923dab8
1 changed files with 1 additions and 1 deletions

View File

@ -1265,7 +1265,7 @@ func (c *Cluster) generateCronJob() *batchv1beta1.CronJob {
Labels: c.labelsSet(true),
},
Spec: batchv1beta1.CronJobSpec{
Schedule: "*/1 * * * *",
Schedule: c.Postgresql.Spec.LogicalBackupSchedule,
JobTemplate: jobTemplateSpec,
},
}