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:
- context:
cluster: {{ cluster }}
user: {{ username }}
user: {{ username }}@{{ cluster }}
name: {{ cluster }}
current-context: {{ cluster }}
kind: Config
preferences: {}
users:
- name: {{ username }}
- name: {{ username }}@{{ cluster }}
user:
client-certificate-data: {{ user_cert_data }}
client-key-data: {{ user_key_data }}