# Packages
No description provided by the author
# README
oc-quicklab
OpenShift CLI plug-in for Quicklab
The oc-quicklab-plugin is a CLI plug-in that works with oc/kubectl and gives the quicklab shared cluster information in the CLI.
Demo
Prerequisites
- OpenShift CLI
- Chromium or Google Chrome Web Browser
- Configure
Integrated Authentication
andKerberos Credentials Delegation
in Chrome browser - Add the below in/etc/opt/chrome/policies/managed/redhat-corp.json
file.
{
"AuthServerWhitelist": "*.redhat.com",
"AuthNegotiateDelegateWhitelist": "*.redhat.com"
}
Installation
Either use prebuilt binary:
$ wget -O oc-quicklab https://github.com/kevydotvinu/oc-quicklab-plugin/releases/download/v1/oc-quicklab-plugin_v1_linux_amd64
$ sudo mv oc-quicklab /usr/local/bin/
$ sudo chmod +x /usr/bin/local/oc-quicklab
$ oc quicklab help
Or build it from source:
git clone https://github.com/kevydotvinu/oc-quicklab-plugin.git
cd oc-quicklab-plugin
go build -o oc-quicklab main.go
sudo mv oc-quicklab /usr/local/bin
oc quicklab
Usage
Help
oc quicklab help
List Quicklab shared clusters
oc quicklab list
Login into Quicklab shared cluster
oc quicklab login --cluster <cluster-name>