rothgar / k

Experimental wrapper for kubectl
MIT License
23 stars 1 forks source link

error with kubectx #7

Closed inductor closed 11 months ago

inductor commented 2 years ago

k returns error with kubectx as follows

$ k get pods
error: error loading config file "/home/kela/.kube/kubectx": couldn't get version/kind; json parse error: json: cannot unmarshal string into Go value of type struct { APIVersion string "json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }

This is my kubectx

$ cat .kube/kubectx
arn:aws:eks:some-region-1:00000000000:cluster/cluster-name