mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 05:40:42 +02:00
properly set the job name
This commit is contained in:
@@ -1345,7 +1345,7 @@ func (c *Cluster) generateLogicalBackupJob() (*batchv1beta1.CronJob, error) {
|
||||
|
||||
cronJob := &batchv1beta1.CronJob{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: "logical-backup-" + c.clusterName().Namespace + "-" + c.clusterName().Name,
|
||||
Name: c.getLogicalBackupJobName(),
|
||||
Namespace: c.Namespace,
|
||||
Labels: c.labelsSet(true),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user