Skip to content

Instantly share code, notes, and snippets.

@rootfs
Created November 2, 2016 15:19
Show Gist options
  • Save rootfs/4e4533400ff8a59d1a9631acfb4d4721 to your computer and use it in GitHub Desktop.
Save rootfs/4e4533400ff8a59d1a9631acfb4d4721 to your computer and use it in GitHub Desktop.
diff --git a/test/e2e/volumes.go b/test/e2e/volumes.go
index b67608d..775d8b2 100644
--- a/test/e2e/volumes.go
+++ b/test/e2e/volumes.go
@@ -370,8 +370,9 @@ var _ = framework.KubeDescribe("Volumes [Feature:Volumes]", func() {
config := VolumeTestConfig{
namespace: namespace.Name,
prefix: "nfs",
- serverImage: "gcr.io/google_containers/volume-nfs:0.6",
- serverPorts: []int{2049},
+ serverImage: "gcr.io/google-samples/nfs-server:1.1",
+ serverPorts: []int{2049, 20048, 111},
+ volumes: map[string]string{"/tmp": "/exports"},
}
defer func() {
@@ -386,7 +387,7 @@ var _ = framework.KubeDescribe("Volumes [Feature:Volumes]", func() {
volume := api.VolumeSource{
NFS: &api.NFSVolumeSource{
Server: serverIP,
- Path: "/",
+ Path: "/exports",
ReadOnly: true,
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment