You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an admin host that has a kubeconfig.yml file with many clusters and contexts configured. The YAML file is shared between many users, so it's read only.
It would be great if I could set an ENV var or pass a command line prompt which would set the default context or namespace of all the commands I run in kube prompt.
kube-shell has great solution to fix this problem because toolbar(displays the bottom of terminal) feature provided by python-prompt-toolkit.
(this issue is related with #5 and #6 )
Your suggested option is more easy solution than kube-shell.
So if it's difficult to implement toolbar feature in go-prompt, I may choice your suggested solution.
Thanks.
I have an admin host that has a
kubeconfig.yml
file with many clusters and contexts configured. The YAML file is shared between many users, so it's read only.It would be great if I could set an ENV var or pass a command line prompt which would set the default context or namespace of all the commands I run in kube prompt.
Something like:
or
When I use kubectl in my day-to-day, I usually create aliases like:
So this feature request would allow me to do the equivalent with
kube-prompt
.Btw, great utility! Thanks for creating it!
The text was updated successfully, but these errors were encountered: