forgot to add templates

This commit is contained in:
brandoconnor
2018-06-08 02:21:23 -07:00
parent f28c747558
commit 6bc2125fd2
3 changed files with 69 additions and 0 deletions

27
templates/kubeconfig.tpl Normal file
View File

@@ -0,0 +1,27 @@
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}"