mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-19 16:21:09 +01:00
28 lines
491 B
Smarty
28 lines
491 B
Smarty
apiVersion: v1
|
|
preferences: {}
|
|
kind: Config
|
|
|
|
clusters:
|
|
- cluster:
|
|
server: ${endpoint}
|
|
certificate-authority-data: ${cluster_auth_base64}
|
|
name: kubernetes
|
|
|
|
contexts:
|
|
- context:
|
|
cluster: kubernetes
|
|
user: aws
|
|
name: aws
|
|
current-context: aws
|
|
|
|
users:
|
|
- name: aws
|
|
user:
|
|
exec:
|
|
apiVersion: client.authentication.k8s.io/v1alpha1
|
|
command: heptio-authenticator-aws
|
|
args:
|
|
- "token"
|
|
- "-i"
|
|
- "${cluster_name}"
|