8000 Make ServiceAccount kubeconfig context name differ from cluster context name by jim-docker · Pull Request #7433 · lensapp/lens · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make ServiceAccount kubeconfig context name differ from cluster context name #7433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already 8000 on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

jim-docker
Copy link
Contributor

The ServiceAccount kubeconfig is generated with a context that has the same name as the associated cluster, which is typically the cluster's context name too. This makes it difficult to distinguish the "clusters" in the cluster list. This PR appends the username (ServiceAccount name) to the cluster name to make it more unique.

…r name

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
@jim-docker jim-docker added the enhancement New feature or request label Mar 29, 2023
@jim-docker jim-docker requested a review from a team as a code owner March 29, 2023 22:40
@jim-docker jim-docker requested review from ixrock and gabriel-mirantis and removed request for a team March 29, 2023 22:40
@jim-docker jim-docker added this to the 6.4.12 milestone Mar 29, 2023
@jim-docker
Copy link
Contributor Author

Not really a bug, but should be safe to put in a patch release.

@Iku-turso Iku-turso modified the milestones: 6.4.12, 6.4.13 Mar 31, 2023
@Nokel81 Nokel81 modified the milestones: 6.4.13, 6.5.0 Mar 31, 2023
@Nokel81
Copy link
Collaborator
Nokel81 commented Mar 31, 2023

Still think that it shouldn't go into a patch release. But yes minor.

@Nokel81 Nokel81 changed the title make ServiceAccount kubeconfig context name unique Make ServiceAccount kubeconfig context name differ from cluster context name Mar 31, 2023
@Nokel81 Nokel81 merged commit 37c92c8 into master Mar 31, 2023
< 8000 div class="TimelineItem-break">
@Nokel81 Nokel81 deleted the service-account-kubeconfig-mod branch March 31, 2023 14:38
jweak pushed a commit that referenced this pull request Apr 3, 2023
…xt name (#7433)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
@Nokel81 Nokel81 mentioned this pull request Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0