Open josh-ferrell-sas opened 5 years ago
Hi @josh-ferrell,
Right now Kubeless needs a valid configuration in order to access the cluster. We are using the same approach than kubectl
. Are you able to access your cluster using kubectl
?
Yes we are. If no cluster is specified kubectl uses the localhost access on port 8080. It doesn't require authorization or authentication but can only be accessed by having access to the host running the apiserver.
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
What happened: kubeless CLI errors on any command with the following; FATA[0000] Can not get kubernetes config: invalid configuration: no configuration has been provided
What you expected to happen: kubeless CLI should be able to parse bare kubeconfig and run from a controller node against localhost:8080.
How to reproduce it (as minimally and precisely as possible): Run any kubeless CLI function from a controller node with the kubeconfig below.
Anything else we need to know?: ~/.kube/config; apiVersion: v1 clusters: [] contexts:
Environment:
kubectl version
): v1.14.1kubeless version
): v1.0.3