when we run spin kube scaffold command, it tries to load kubeconfig by default and fails if the kubeconfig is not available or not accessible (e.g. permissions issue).
because scaffold command don't necessarily need to perform kubernetes operation, it should not try to load kubeconfig by default.
when we run
spin kube scaffold
command, it tries to load kubeconfig by default and fails if the kubeconfig is not available or not accessible (e.g. permissions issue).because scaffold command don't necessarily need to perform kubernetes operation, it should not try to load kubeconfig by default.