Skip to content
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 on GitHub? Sign in to your account

feat(kubernetes): add context user and cluster variables #3569

Merged
merged 4 commits into from
Feb 16, 2022
Merged

feat(kubernetes): add context user and cluster variables #3569

merged 4 commits into from
Feb 16, 2022

Conversation

v4nderstruck
Copy link
Contributor

Description

Added the user and cluster field for kubeconfig context. It's my first contribution to open source hehe.

Motivation and Context

Closes #3487

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

I followed the CONTRIBUTING.md

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@davidkna davidkna changed the title Kubernetes context user and cluster field feat(kubernetes): add context user and cluster variables Feb 6, 2022
@syphar syphar mentioned this pull request Feb 6, 2022
5 tasks
@andytom andytom merged commit d09f717 into starship:master Feb 16, 2022
@andytom
Copy link
Member

andytom commented Feb 16, 2022

Thank you for your contribution @zensayyy.

Perniciosius pushed a commit to Perniciosius/starship that referenced this pull request Feb 21, 2022
* added kubernetes context user, cluster + basic test

* updated docs

* docs format

* changed get_kube_ctx_component to return struct
@jainpratik163
Copy link

this feature is not working properly with oc client 4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to set kubernetes username ie with whom we login into k8s cluster in prompt
3 participants