I am new to kubernetes administration. While trying to list & setup new cronjobs, one of the users is getting the following error:
"Error from server (Forbidden): cronjobs.batch is forbidden: User <user> cannot list cronjobs.batch in the namespace <user>" The role while creating this user: kind: Role apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: namespace: <user> name: <user>-role rules: - apiGroups: ["", "extensions", "apps"] resources: ["*"] verbs: ["*"] The role binding while creating this user: kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: <user>-role-binding namespace: <user> subjects: - kind: User name: <user> apiGroup: "" roleRef: kind: Role name: <user>-role apiGroup: "" What could the issue possibly be? -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.