update e2e tests and yaml files
This commit is contained in:
@@ -74,6 +74,9 @@ var _ = framework.KubeDescribe("ContainerLogPath", func() {
|
||||
|
||||
expectedlogFile := logDir + "/" + logPodName + "_" + ns + "_" + logContName + "-" + logConID.ID + ".log"
|
||||
|
||||
hostPathType := new(v1.HostPathType)
|
||||
*hostPathType = v1.HostPathType(string(v1.HostPathFileOrCreate))
|
||||
|
||||
checkPod := &v1.Pod{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: checkPodName,
|
||||
@@ -104,6 +107,7 @@ var _ = framework.KubeDescribe("ContainerLogPath", func() {
|
||||
VolumeSource: v1.VolumeSource{
|
||||
HostPath: &v1.HostPathVolumeSource{
|
||||
Path: expectedlogFile,
|
||||
Type: hostPathType,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user