Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: <certificateAuthority.data from describe-cluster>
server: <endpoint from describe-cluster>
name: <cluster-name>
contexts:
- context:
cluster: <cluster-name>
user: aws
name: aws
current-context: aws
kind: Config
preferences: {}
users:
- name: aws
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
args:
- token
- -i
- <cluster-name>
command: heptio-authenticator-aws
env:
- name: AWS_PROFILE
value: <profile-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment