Push the deployment name as a sidecar container env var to avoid all the operations on the cache
This commit is contained in:
parent
099d0d993b
commit
8cd21033a3
@ -159,6 +159,10 @@ func (r *BackupConfigurationReconciler) addSidecarContainer(backupConf *formolv1
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
corev1.EnvVar{
|
||||||
|
Name: "POD_DEPLOYMENT",
|
||||||
|
Value: target.Name,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
VolumeMounts: []corev1.VolumeMount{},
|
VolumeMounts: []corev1.VolumeMount{},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user