directpv
directpv copied to clipboard
use genericclioptions package to handle kubeconfig
Use the same flagset that kubectl uses to select context and namespace, and generate the clientset from that.
Fixes #884
I believe all codepaths to client init are adjusted now.
User should solve this issue externally. We do not support directly in DirectPV.