blob: 586c59d4d8fd261a067b638b6c7cb871bac7c4ff [file] [log] [blame]
Michal Ptacek89134622018-12-19 12:10:34 +00001apiVersion: v1
2kind: Config
3clusters:
4- cluster:
5 api-version: v1
6 insecure-skip-tls-verify: true
Samuli Silviusc580efe2019-03-17 18:06:33 +02007 server: "{{ kube_server }}"
Michal Ptacek89134622018-12-19 12:10:34 +00008 name: "{{ app_name }}"
9contexts:
10- context:
11 cluster: "{{ app_name }}"
12 user: "{{ app_name }}"
13 name: "{{ app_name }}"
14current-context: "{{ app_name }}"
15users:
16- name: "{{ app_name }}"
17 user:
18 token: "{{ (['Basic', [key_public, key_private] | join(':') | b64encode] | join(' ')) | b64encode }}"
19