Skip to content

openshift-cs/ocl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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
    

About

OpenShift `oc` login tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages