mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 06:15:40 +00:00
issue 8960: implement PodVolume exposer for PVB/PVR
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -615,7 +615,7 @@ func TestGetHostPodPath(t *testing.T) {
|
||||
Spec: corev1api.PodSpec{
|
||||
Volumes: []corev1api.Volume{
|
||||
{
|
||||
Name: hostPodVolume,
|
||||
Name: HostPodVolumeMount,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -636,7 +636,7 @@ func TestGetHostPodPath(t *testing.T) {
|
||||
Spec: corev1api.PodSpec{
|
||||
Volumes: []corev1api.Volume{
|
||||
{
|
||||
Name: hostPodVolume,
|
||||
Name: HostPodVolumeMount,
|
||||
VolumeSource: corev1api.VolumeSource{
|
||||
HostPath: &corev1api.HostPathVolumeSource{},
|
||||
},
|
||||
@@ -660,7 +660,7 @@ func TestGetHostPodPath(t *testing.T) {
|
||||
Spec: corev1api.PodSpec{
|
||||
Volumes: []corev1api.Volume{
|
||||
{
|
||||
Name: hostPodVolume,
|
||||
Name: HostPodVolumeMount,
|
||||
VolumeSource: corev1api.VolumeSource{
|
||||
HostPath: &corev1api.HostPathVolumeSource{
|
||||
Path: "/var/lib/kubelet/pods",
|
||||
|
||||
Reference in New Issue
Block a user