Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 402 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 402 Bytes

Credit for the logic that retrieves the KUBECONFIG goes to Superseb

kubecert

This script will set you up with kubectl and retrieve your local kube config for a cluster provisioned by RKE or Rancher. Option -y will auto install kubectl and jq for linux. Usage:

curl -LO https://github.com/patrick0057/kubecert/raw/master/kubecert.sh
bash ./kubecert.sh -y