You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✅ Successfully set the current account to 'admin' at 'https://'
$ litmusctl connect chaos-infra
Project list:
admin-project
Select a project [Range: 1-1]: 1
Installation Modes:
Cluster
Namespace
Select Mode [Default: cluster] [Range: 1-2]: 2
🏃 Running prerequisites check....
🔑 role ❌
🔑 rolebinding ❌
🚫 You don't have sufficient permissions.
🙄 Please use a service account with sufficient permissions.
Looking at litmus-server-role the following is set -->
$ litmusctl config use-account
Host endpoint where litmus is installed: https://
Username: admin
✅ Successfully set the current account to 'admin' at 'https://'
$ litmusctl connect chaos-infra
Project list:
Select a project [Range: 1-1]: 1
Installation Modes:
Select Mode [Default: cluster] [Range: 1-2]: 2
🏃 Running prerequisites check....
🔑 role ❌
🔑 rolebinding ❌
🚫 You don't have sufficient permissions.
🙄 Please use a service account with sufficient permissions.
Looking at litmus-server-role the following is set -->
resources: [rolebindings, roles]
verbs: [create]
And in the ValidateSAPermissions function on ops.go the resources are like -->
if mode == "cluster" {
resources = [2]string{"clusterrole", "clusterrolebinding"}
} else {
resources = [2]string{"role", "rolebinding"}
I guess that should be 'roles' and 'rolesbinding', right?.
The text was updated successfully, but these errors were encountered: