My packaged version of the Kubernetes HostPath provisioner
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nicolas Massé c351d2fd62 improving the path names 10 years ago
doc add ref 10 years ago
setup Improving the setup process 10 years ago
src improving the path names 10 years ago
.dockerignore reorganize project structure 10 years ago
.gitignore gitignore mess 10 years ago
Dockerfile Rename Dockerfile so that OpenShift can find it 10 years ago
README.md Improving the setup process 10 years ago

README.md

An Hostpath Provisioner for OpenShift

Build

$ export GOPATH="$PWD"
$ cd src
$ glide install -v
$ CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o ../hostpath-provisioner hostpath-provisioner/hostpath-provisioner.go

Package

$ docker build -t hostpath-provisioner .

Setup

$ oc project default
$ oc process -f setup/hostpath-provisioner-template.yaml

Test

$ oc project my-project
$ oc create -f setup/sample-claim.yaml
$ ls -l /tmp/openshift/

Cleanup

$ oc project default
$ oc delete all -l template=hostpath-provisioner-template