We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd0f17 commit db24540Copy full SHA for db24540
pkg/dataprotection/backup/deleter.go
@@ -326,6 +326,9 @@ func (d *Deleter) doPreDeleteAction(
326
if d.actionSet != nil {
327
envVars = append(envVars, d.actionSet.Spec.Env...)
328
}
329
+ if backup.Status.BackupMethod != nil {
330
+ envVars = append(envVars, backup.Status.BackupMethod.Env...)
331
+ }
332
image := common.Expand(preDeleteAction.Image, common.MappingFuncFor(utils.CovertEnvToMap(envVars)))
333
container := corev1.Container{
334
Name: deleteContainerName,
0 commit comments