fix: Usernames now have include cluster names

This commit is contained in:
Nikolai Rodionov 2023-07-20 17:55:33 +02:00
parent cf5d235cc2
commit 9928b63672
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -7,13 +7,13 @@ clusters:
contexts: contexts:
- context: - context:
cluster: {{ cluster }} cluster: {{ cluster }}
user: {{ username }} user: {{ username }}@{{ cluster }}
name: {{ cluster }} name: {{ cluster }}
current-context: {{ cluster }} current-context: {{ cluster }}
kind: Config kind: Config
preferences: {} preferences: {}
users: users:
- name: {{ username }} - name: {{ username }}@{{ cluster }}
user: user:
client-certificate-data: {{ user_cert_data }} client-certificate-data: {{ user_cert_data }}
client-key-data: {{ user_key_data }} client-key-data: {{ user_key_data }}