Closed yahaa closed 4 years ago
Sorry, I misread your description. I thought you want to poll namespaces only, so I put the review comment. But now I understand you want to also detect the changes of context.
If kube-prompt polls context and namespace, we need to separate caching spaces of resources like pods, deployments and so on. It requires a lot of code changes. So I'm sorry, I'm a little negative to merge this.
When I use kube-prompt and I change current namespace by
ns
command,I found the promp was wrong,so would it be better to add polls to see if there are changes in ns or ctx?