When i try to run the server against a cluster in which I have access to only a certain list of namespaces, The application will exit with current log:
FATA[2022-08-29T17:30:04+04:30]util.go:38 kubectlfzf/pkg/util.FatalIf() Fatal error: error fetching namespaces: namespaces is forbidden: User "xxxxxx" cannot list namespaces at the cluster scope: User "xxxxx" cannot list all namespaces in the cluster
Also I tried setting --excluded-resources nodes,namespaces --watched-namespaces xxxxx flags for the server, but it didn't help. One possible solution that I can think of is to provide a way to bypass the execution of this line.
When i try to run the server against a cluster in which I have access to only a certain list of namespaces, The application will exit with current log:
Also I tried setting
--excluded-resources nodes,namespaces --watched-namespaces xxxxx
flags for the server, but it didn't help. One possible solution that I can think of is to provide a way to bypass the execution of this line.