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

invalid namespace shown in-case of extensions #21

Open
amirsalarsafaei opened this issue Sep 2, 2024 · 0 comments
Open

invalid namespace shown in-case of extensions #21

amirsalarsafaei opened this issue Sep 2, 2024 · 0 comments

Comments

@amirsalarsafaei
Copy link

Clusters accept extensions such as Telepresence. The way the plugin extracts information conflicts with the extension config. In the case of namespaces we are using kubectl config view --minify --output 'jsonpath={..namespace}' and this json query searches for every occurrence of namespace which can lead to conflict with other parts of configuration.
I fix this issue by revising the query to .contexts[].context.namespace, fixing the problem and minimizing conflicts if the solution seems adequate, I'd be happy to prepare a pull request.

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