add a prefix for the name of a logical backup job

This commit is contained in:
Sergey Dudoladov
2021-01-05 17:21:11 +01:00
parent a21504555b
commit ac7813b47d
8 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -2079,7 +2079,7 @@ func (c *Cluster) generateLogicalBackupPodEnvVars() []v1.EnvVar {
// getLogicalBackupJobName returns the name; the job itself may not exists
func (c *Cluster) getLogicalBackupJobName() (jobName string) {
return "logical-backup-" + c.clusterName().Name
return c.OpConfig.LogicalBackupJobPrefix + c.clusterName().Name
}
// Return an array of ownerReferences to make an arbitraty object dependent on