Kubernetes - RBAC and Security
You applied this YAML to create a
RoleBinding:
apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: read-pods subjects: - kind: User name: bob roleRef: kind: Role name: pod-reader apiGroup: rbac.authorization.k8s.ioBut
bob cannot list pods in the namespace. What is the likely problem?