Copy files from local server to OpenShift pods
Issue
- While copying individual file inside the pod getting below error:
$ oc rsync /home/ocpadmin/curlUpdated.sh mdm-7d48bfd4b4-9cbq8:/home/
error: path /home/ocpadmin/curlUpdated.sh must point to a directory
Environment
-
Red Hat OpenShift Container Platform (RHOCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.