mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 09:32:00 +02:00
use custmom schedule
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user