Replies: 1 comment
-
Hi, I have limited k3s experience, but this command might help you to check which authorizations are effective for your new user : (compare the output to the one you get with your admin user) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
K3s Version:
k3s version v1.27.4+k3s1 (36645e7)
I wrote a script to create a k3s user:
./add-user.sh argocd robot
Script works well, I created Role and RoleBinding:
Trying to test, that the user has a correct permissions
➜ kubectl --kubeconfig ~/.kube/k3s-config -n argocd get applications
Error from server (Forbidden): applications.argoproj.io is forbidden: User "argocd" cannot list resource "applications" in API group "argoproj.io" in the namespace "argocd"
Prove that user cert is signed and approved
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions