oc export to directory not working as expected in Red Hat OpenShift Container Platform
Issue
- The
oc export --helpmentions that one can export Objects to a directory. If I dooc export ServiceAccount -f [dir-name], the following error message is reported:
error: when paths, URLs, or stdin is provided as input, you may not specify resource arguments as well
- How is
oc export -fintended to work? The documentation is rather limited and not helping really.
Environment
- Red Hat OpenShift Container Platform 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
