20 lines
459 B
Django/Jinja
20 lines
459 B
Django/Jinja
apiVersion: v1
|
|
clusters:
|
|
- cluster:
|
|
certificate-authority-data: {{ kubernetes_cad }}
|
|
server: {{ kubernetes_server }}
|
|
name: {{ cluster }}
|
|
contexts:
|
|
- context:
|
|
cluster: {{ cluster }}
|
|
user: {{ username }}@{{ cluster }}
|
|
name: {{ cluster }}
|
|
current-context: {{ cluster }}
|
|
kind: Config
|
|
preferences: {}
|
|
users:
|
|
- name: {{ username }}@{{ cluster }}
|
|
user:
|
|
client-certificate-data: {{ user_cert_data }}
|
|
client-key-data: {{ user_key_data }}
|