This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oc <verb> <resoure_type> [<name>] | |
| User Login and Authetication | |
| ============================ | |
| oc login -u system:admin https://ose-master01.example.com:8443 | |
| oc whoami | |
| oc whoami -t # prints token which is used to authenticate any api requests from this session to master. | |
| oc logout | |
| oc new-project build-project |