Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 604 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 604 Bytes

OCL (oc login)

Installing

cd ~
git clone https://github.com/openshift-cs/ocl
pip install -r ocl/requirements.txt
echo "export PATH=$(pwd)/ocl:\$PATH" >> ~/.bash_profile && source ~/.bash_profile

Environment Variables

  • OCL_USERNAME: the username to use when logging in to clusters to support cli login

      echo "export OCL_USERNAME=<username>" >> ~/.bash_profile && source ~/.bash_profile
    
  • OCL_NAMESPACE: the namespace to automatically attempt to select upon successful login

      echo "export OCL_NAMESPACE=<namespace>" >> ~/.bash_profile && source ~/.bash_profile