Skip to content

Instantly share code, notes, and snippets.

@jaxxstorm
Created April 28, 2021 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaxxstorm/58f2ab461a71afdf5a0e6c34d3758f57 to your computer and use it in GitHub Desktop.
Save jaxxstorm/58f2ab461a71afdf5a0e6c34d3758f57 to your computer and use it in GitHub Desktop.
kubeconfig
{
"apiVersion": "v1",
"clusters": [
{
"cluster": {
"certificate-authority-data": "<redacted>",
"server": "<redacted>"
},
"name": "kubernetes"
}
],
"contexts": [
{
"context": {
"cluster": "kubernetes",
"user": "aws"
},
"name": "aws"
}
],
"current-context": "aws",
"kind": "Config",
"users": [
{
"name": "aws",
"user": {
"exec": {
"apiVersion": "client.authentication.k8s.io/v1alpha1",
"args": [
"eks",
"get-token",
"--cluster-name",
"foo"
],
"command": "aws",
"env": [
{
"name": "AWS_PROFILE",
"value": "pulumi-dev-sandbox"
}
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment