Created
November 12, 2018 17:09
-
-
Save diogoaurelio/a2349b3aaecda96bf4bc255c49fe4605 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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