mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 03:54:37 +02:00
add a prefix for the name of a logical backup job
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user