Commit 4825e6a1 authored by Arie Peterson's avatar Arie Peterson 🐚
Browse files

Merge branch '1-change-directory-permissions-to-777-for-now' into 'master'

Resolve "Change directory permissions to 777 (for now)"

Closes #1

See merge request !2
parents 7e1423a0 03ff8e4f
......@@ -18,7 +18,7 @@ spec:
serviceAccountName: local-provisioner
containers:
- name: local-provisioner
image: docker.greenhost.net/openappstack/local-storage/provisioner:latest
image: docker.greenhost.net/openappstack/local-storage/provisioner:develop
imagePullPolicy: "Always"
volumeMounts:
- mountPath: "/var/lib/OpenAppStack/local-storage"
......
......@@ -41,7 +41,7 @@ var _ controller.Provisioner = &LocalProvisioner{}
func (p *LocalProvisioner) Provision(options controller.VolumeOptions) (*v1.PersistentVolume, error) {
pvPath := path.Join(p.pvDir, options.PVName)
glog.Infof("Creating pv with path: %s", pvPath)
err := os.Mkdir(pvPath, 0755)
err := os.Mkdir(pvPath, 0777)
if err != nil {
glog.Fatalf("Error creating path: %s", err)
}
......
Supports Markdown
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