diff --git a/virtuozzo-storage/glide.yaml b/virtuozzo-storage/glide.yaml new file mode 100644 index 00000000..f6aa23a5 --- /dev/null +++ b/virtuozzo-storage/glide.yaml @@ -0,0 +1,4 @@ +package: github.com/kubernetes-incubator/external-storage/virtuozzo-storage +import: +- package: github.com/kolyshkin/goploop-cli + version: 5365b446a713e31ac4f2026b05a6dac27bbdf21c diff --git a/virtuozzo-storage/test-pod.yaml b/virtuozzo-storage/test-pod.yaml index 451c1104..e7c00994 100644 --- a/virtuozzo-storage/test-pod.yaml +++ b/virtuozzo-storage/test-pod.yaml @@ -1,19 +1,20 @@ kind: Pod apiVersion: v1 metadata: - name: test-pod + name: test-pod-ro1 spec: containers: - - name: test-pod + - name: test-pod-ro image: gcr.io/google_containers/busybox:1.24 command: - "/bin/sh" args: - "-c" - - "while :; do let i=i+1; sleep 1; echo ok $i >> /mnt/date || break; done" + - "while :; do sleep 10; done; while :; do let i=i+1; sleep 1; echo ok $i >> /mnt/date || break; done" volumeMounts: - name: pvc mountPath: "/mnt" + readOnly: true restartPolicy: "Never" volumes: - name: pvc diff --git a/vendor/github.com/kolyshkin/goploop-cli/.gitignore b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/.gitignore similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/.gitignore rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/.gitignore diff --git a/vendor/github.com/kolyshkin/goploop-cli/LICENSE b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/LICENSE similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/LICENSE rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/LICENSE diff --git a/vendor/github.com/kolyshkin/goploop-cli/Makefile b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/Makefile similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/Makefile rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/Makefile diff --git a/vendor/github.com/kolyshkin/goploop-cli/README.md b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/README.md similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/README.md rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/README.md diff --git a/vendor/github.com/kolyshkin/goploop-cli/ploop.go b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop.go similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/ploop.go rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop.go diff --git a/vendor/github.com/kolyshkin/goploop-cli/ploop_error.go b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_error.go similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/ploop_error.go rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_error.go diff --git a/vendor/github.com/kolyshkin/goploop-cli/ploop_exec.go b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_exec.go similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/ploop_exec.go rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_exec.go diff --git a/vendor/github.com/kolyshkin/goploop-cli/ploop_test.go b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_test.go similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/ploop_test.go rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_test.go diff --git a/vendor/github.com/kolyshkin/goploop-cli/ploop_uuid.go b/virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_uuid.go similarity index 100% rename from vendor/github.com/kolyshkin/goploop-cli/ploop_uuid.go rename to virtuozzo-storage/vendor/github.com/kolyshkin/goploop-cli/ploop_uuid.go