I'm playing around with jobs/cronjobs in openshift 3 online. I have a pod (podA) that runs my application. podA has a persistent storage connected. I want to launch a job/cronjob that places e.g. a logfile on the persistent storage or on the podA's file system. When ever I launch a job, it creates a new pod (podB) but this podB seems to have no permission to create anything on podA's file system. I always get a permission denied message. The way I'm launching the job is e.g.
oc run crontest --schedule="* * * * *" --image=docker-registry.default.svc:5000/myproject/django:latest --restart=OnFailure --labels parent="crontest" -- /opt/app-root/src/scripts/testScript.sh
where testScript tries to write files. What would be the way to create files on podA's file system/persistent storage from a job/cronjob?