Michal Ptacek | 8913462 | 2018-12-19 12:10:34 +0000 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Config |
| 3 | clusters: |
| 4 | - cluster: |
| 5 | api-version: v1 |
| 6 | insecure-skip-tls-verify: true |
Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame^] | 7 | server: "{{ kube_server }}" |
Michal Ptacek | 8913462 | 2018-12-19 12:10:34 +0000 | [diff] [blame] | 8 | name: "{{ app_name }}" |
| 9 | contexts: |
| 10 | - context: |
| 11 | cluster: "{{ app_name }}" |
| 12 | user: "{{ app_name }}" |
| 13 | name: "{{ app_name }}" |
| 14 | current-context: "{{ app_name }}" |
| 15 | users: |
| 16 | - name: "{{ app_name }}" |
| 17 | user: |
| 18 | token: "{{ (['Basic', [key_public, key_private] | join(':') | b64encode] | join(' ')) | b64encode }}" |
| 19 | |