diff --git a/README.md b/README.md index 7d2cae6..8d39a15 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # An Hostpath Provisioner for OpenShift This project solves the PersistentVolume provisioning in OpenShift. It is mainly -a packaged and polished version of the Kubernetes Incubator's Hostpath Provisioner. +a packaged and polished version of the Kubernetes Incubator's Hostpath Provisioner +(https://github.com/kubernetes-incubator/external-storage/tree/master/docs/demo/hostpath-provisioner). The original license is Apache 2.0. This project remains under the same license. @@ -24,9 +25,9 @@ here is the way to go. First, you will have to create a directory that will hold all PersistentVolumes : ``` -mkdir /tmp/openshift -chmod 777 /tmp/openshift -chcon -Rt svirt_sandbox_file_t /tmp/openshift +mkdir /var/openshift +chmod 777 /var/openshift +chcon -Rt svirt_sandbox_file_t /var/openshift ``` If you chose a different path, mind that you will have to pass the HOSTPATH_TO_USE diff --git a/setup/hostpath-provisioner-template.yaml b/setup/hostpath-provisioner-template.yaml index 9bdb0e6..e5e7f83 100644 --- a/setup/hostpath-provisioner-template.yaml +++ b/setup/hostpath-provisioner-template.yaml @@ -151,4 +151,4 @@ parameters: - description: A path on the host to on which the Hostpath Provisioner can create PVs. displayName: Host Path name: HOSTPATH_TO_USE - value: /tmp/openshift + value: /var/openshift