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

Namespace in K8S status prompt is duplicated #352

Open
Stef16Robbe opened this issue Aug 21, 2024 · 0 comments
Open

Namespace in K8S status prompt is duplicated #352

Stef16Robbe opened this issue Aug 21, 2024 · 0 comments

Comments

@Stef16Robbe
Copy link

Versions

Pure: 4.11.0

Fish: 3.7.1

OS/distribution: MacOS Sonoma 14.6.1

Kubectl: v1.31.0

The issue

The namespace in the K8S status is duplicated, it seems, that at least for my Kubectl version, the namespace is already included in the Kubectl context, and the addition of the namespace after it is not necessary (anymore):

My prompt now:

~/.co/fish ☸ kube-system/<apiurl>/<username>/kube-system

Current context return:

❯ kubectl config current-context
kube-system/<apiurl>/<user>

And then pure-fish also adds:

❯ kubectl config view --minify --output 'jsonpath={..namespace}'
kube-system
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

No branches or pull requests

1 participant