fix(snap): narrow dot-kube plug to kubeconfig and its lock

What

  • Narrows the dot-kube personal-files plug from $HOME/.kube to $HOME/.kube/config and $HOME/.kube/config.lock.
  • Shows the sudo snap connect glab:dot-kube hint only for permission errors on ~/.kube/config. Other files under ~/.kube are no longer covered by the plug.

Why

The Snap Store reviewers asked us to limit the scope. They then gave +1 for write access to exactly these two files, with manual connection (forum thread). config.lock is client-go's standard kubeconfig lock, which kubectl also uses, so it has to stay next to the kubeconfig.

Follow-up to !4160 (merged).

🤖 Generated with Claude Code

Edited by Jay McCure

Merge request reports

Loading
Loading