From 269b932bb2534e763eb45995401e7d9db69f5695 Mon Sep 17 00:00:00 2001 From: Xing Yang Date: Fri, 19 Apr 2019 17:24:26 -0700 Subject: [PATCH] Move snapshot example yaml files This PR moves snapshot example yaml files from deploy folder to examples folder, along with other example yaml files. --- README.md | 4 ++-- {deploy/snapshot => examples}/csi-restore.yaml | 0 {deploy/snapshot => examples}/csi-snapshot.yaml | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {deploy/snapshot => examples}/csi-restore.yaml (100%) rename {deploy/snapshot => examples}/csi-snapshot.yaml (100%) diff --git a/README.md b/README.md index c329e6932..3d3fcb273 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ Since volume snapshot is an alpha feature starting in Kubernetes v1.12, you need Use the volume snapshot class to dynamically create a volume snapshot: -> $ kubectl create -f deploy/snapshot/csi-snapshot.yaml +> $ kubectl create -f examples/csi-snapshot.yaml > ``` > volumesnapshot.snapshot.storage.k8s.io/new-snapshot-demo created > ``` @@ -324,7 +324,7 @@ Use the volume snapshot class to dynamically create a volume snapshot: Follow the following example to create a volume from a volume snapshot: -> $ kubectl create -f deploy/snapshot/csi-restore.yaml +> $ kubectl create -f examples/csi-restore.yaml > `persistentvolumeclaim/hpvc-restore created` > > $ kubectl get pvc diff --git a/deploy/snapshot/csi-restore.yaml b/examples/csi-restore.yaml similarity index 100% rename from deploy/snapshot/csi-restore.yaml rename to examples/csi-restore.yaml diff --git a/deploy/snapshot/csi-snapshot.yaml b/examples/csi-snapshot.yaml similarity index 100% rename from deploy/snapshot/csi-snapshot.yaml rename to examples/csi-snapshot.yaml