Created
June 4, 2020 20:16
-
-
Save jovemfelix/36ade667e8e5e2e25577aea3519d5793 to your computer and use it in GitHub Desktop.
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
# associate variable to a personal file location (here use a personal file location like roger-admin) | |
export KUBECONFIG=$PWD/my-kubeconfig-admin | |
# create the unique/personal local file | |
touch $KUBECONFIG | |
# then make login as usual | |
oc login <host> -u <username> -p <pass> | |
# teste it | |
oc whoami |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment