properly set the job name
This commit is contained in:
parent
bd9d0fcd38
commit
4cf37c4f3e
|
|
@ -1345,7 +1345,7 @@ func (c *Cluster) generateLogicalBackupJob() (*batchv1beta1.CronJob, error) {
|
||||||
|
|
||||||
cronJob := &batchv1beta1.CronJob{
|
cronJob := &batchv1beta1.CronJob{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Name: "logical-backup-" + c.clusterName().Namespace + "-" + c.clusterName().Name,
|
Name: c.getLogicalBackupJobName(),
|
||||||
Namespace: c.Namespace,
|
Namespace: c.Namespace,
|
||||||
Labels: c.labelsSet(true),
|
Labels: c.labelsSet(true),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue