Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DazWilkin/52d016288b95571919f8ebe2ca61434b to your computer and use it in GitHub Desktop.
Save DazWilkin/52d016288b95571919f8ebe2ca61434b to your computer and use it in GitHub Desktop.
Kubernetes Engine: kubectl config
apiVersion: v1
kind: Config
preferences: {}
clusters:
- cluster:
certificate-authority-data: [[REDACTED]]
server: [[REDACTED]]
name: white
- cluster:
certificate-authority-data: [[REDACTED]]
server: [[REDACTED]]
name: black
contexts:
- context:
cluster: white
user: dazwilkin
name: white
- context:
cluster: black
user: dazwilkin
name: black
current-context: white
users:
- name: dazwilkin
user:
auth-provider:
config:
access-token: [[REDACTED]]
cmd-args: config config-helper --format=json
cmd-path: /.../google-cloud-sdk/bin/gcloud
expiry: 2018-06-09T00:00:00Z
expiry-key: '{.credential.token_expiry}'
token-key: '{.credential.access_token}'
name: gcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment