blob: 87f332e671d62a99887daa5ad038feaf8d66e18f [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
7 server: "https://{{ ansible_host }}:8080/r/projects/{{ k8s_env_id }}/kubernetes:6443"
8 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