Skip to content

Instantly share code, notes, and snippets.

@Sushant
Created December 1, 2017 21:49
Show Gist options
  • Save Sushant/04bfcd6b2d802572a66d6b249ba980af to your computer and use it in GitHub Desktop.
Save Sushant/04bfcd6b2d802572a66d6b249ba980af to your computer and use it in GitHub Desktop.
Kubeconfig with token
clusters:
- cluster:
insecure-skip-tls-verify: true
server: http://127.0.0.1:8080
name: k8s-sushant
contexts:
- context:
cluster: k8s-sushant
namespace: kube-system
user: admin
name: local
kind: Config
preferences:
colors: true
users:
- name: admin
user:
token: <TOKEN>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment