litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.35k stars 683 forks source link

Unauthorized - 🚫 You don't have sufficient permissions. #4005

Open Aybukergul opened 1 year ago

Aybukergul commented 1 year ago

Hi guys,

I am trying to connect to a Chaos Engineering delegate via the litmusctl command-line interface. I've created the necessary ServiceAccount and ClusterRoleBinding in Kubernetes. All the corresponding roles seem to have adequate permissions for the resources that should be controlled by Litmus. Despite all these, when I run the "litmusctl connect chaos-delegate" command, I'm getting the error: Unauthorized. You don't have sufficient permissions.

I've tried various troubleshooting methods but I couldn't figure out what's wrong. Could you please help me in understanding what's missing or what's misconfigured in this setup?

Nageshbansal commented 1 year ago

hey @Aybukergul , are you still facing this issue?