Small post to explain that if you ever need to use
oc run and need to mount a volume for the process, then
it is possible to do this by using overrides:
Initially create the
Once the PVC is created you can use oc run with overrides to attach the PVC, note that the image is
notused, since the image itself is overriden by the json overrides:
It can be seen that the pod has mounted the volume.
All available on this public gist