Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

AndreiGavriliu/oc-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

oc-switcher

The following script helps manage multiple OpenShift oc client versions. It creates a symlink of the oc client of your choice to a location within $PATH location.

usage

$ ./oc-switcher.sh
usage: ./oc-switcher.sh <new_version>
Currently running /my/oc/clients/openshift-oc-client-v3.10.0

Found the following oc-client versions in /my/oc/clients:
=> v4.2.11
=> v4.1.4
=> v4.1.0
=> v3.9.0
=> v3.7.1
=> v3.11.0
=> v3.10.0
$ ./oc-switcher.sh v3.10.0
Adding version v3.10.0
... done

About

Simple OpenShift oc client switcher script.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages