Commit c2780fa7 by Jackie Li Committed by kmova

fix spell error & add travis build

(cherry picked from commit c916b18425c3e502406f2abd18532f8c8053e811)
parent a48c8119
...@@ -12,4 +12,4 @@ ...@@ -12,4 +12,4 @@
- check the folder and file "SUCCESS" created - check the folder and file "SUCCESS" created
- `kubectl delete -f deploy/test-pod.yaml` - `kubectl delete -f deploy/test-pod.yaml`
- `kubectl delete -f deploy/test-claim.yaml` - `kubectl delete -f deploy/test-claim.yaml`
- check the folder renamed to `archieve-???` - check the folder renamed to `archived-???`
...@@ -94,7 +94,7 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error { ...@@ -94,7 +94,7 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error {
path := volume.Spec.PersistentVolumeSource.NFS.Path path := volume.Spec.PersistentVolumeSource.NFS.Path
pvName := filepath.Base(path) pvName := filepath.Base(path)
oldPath := filepath.Join(mountPath, pvName) oldPath := filepath.Join(mountPath, pvName)
archivePath := filepath.Join(mountPath, "archieved-"+pvName) archivePath := filepath.Join(mountPath, "archived-"+pvName)
glog.V(4).Infof("archiving path %s to %s", oldPath, archivePath) glog.V(4).Infof("archiving path %s to %s", oldPath, archivePath)
return os.Rename(oldPath, archivePath) return os.Rename(oldPath, archivePath)
} }
......
...@@ -13,7 +13,7 @@ spec: ...@@ -13,7 +13,7 @@ spec:
spec: spec:
containers: containers:
- name: nfs-client-provisioner - name: nfs-client-provisioner
image: quay.io/jackieli/nfs-client-provisioner:v1 image: quay.io/external_storage/nfs-client-provisioner:v1
volumeMounts: volumeMounts:
- name: nfs-client-root - name: nfs-client-root
mountPath: /persistentvolumes mountPath: /persistentvolumes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment