Sharp
05/28/2023, 10:23 PMkubectl
on a base pod from within k8s, I get
bash
╰─➤ kubectl get pods
Error from server (Forbidden): pods is forbidden: User "system:serviceaccount:coder:default" cannot list resource "pods" in API group "" in the namespace "coder"
Then when I run kind create cluster
and let it finish, it then works.
But, all golang code I run (my own projects, operators with kubebuilder etc), all complain about the same error.
My bet is that they are failing to get the right address. Does anyone know how I go about fixing this?