Push the deployment name as a sidecar container env var to avoid all the operations on the cache

This commit is contained in:
jandre 2021-02-03 22:12:38 +01:00
parent 099d0d993b
commit 8cd21033a3

View File

@ -159,6 +159,10 @@ func (r *BackupConfigurationReconciler) addSidecarContainer(backupConf *formolv1
},
},
},
corev1.EnvVar{
Name: "POD_DEPLOYMENT",
Value: target.Name,
},
},
VolumeMounts: []corev1.VolumeMount{},
}