Merge "Use right path for PV"

This commit is contained in:
Zuul 2017-11-30 14:06:54 +00:00 committed by Gerrit Code Review
commit ab29e6cba9
1 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@
type: RunAsAny
EOF
sudo mkdir /tmp/test-volume
sudo chmod 777 /tmp/test-volume
cat <<EOF | kubectl create -f -
apiVersion: v1
kind: PersistentVolume
@ -45,7 +48,7 @@
persistentVolumeReclaimPolicy: Recycle
storageClassName: slow
hostPath:
path: /tmp
path: /tmp/test-volume
EOF
executable: /bin/bash
become: true