ServiceAccount Fails to Bind to ClusterRole Due to Mismatch #292
Labels
area/distributed
kind/bug
Something isn't working
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
🐛 Describe the bug
When I follow the instruction and build from the source:
KubeRay operator seems to lack permission to list Pods.
kubectl auth can-i list pods --as=system:serviceaccount:aibrix-system:aibrix-kuberay-operator #no
Upon further investigation, I found that the issue occurs because the RoleBinding is assigned to the
kuberay-operator
service account instead ofaibrix-kuberay-operator
.This is because we first generate the config file from the KubeRay Helm chart and then use
namePrefix: aibrix-
inconfig/default/kustomization.yaml
to add a prefix to all resources.However, the following internal references won't be automatically updated.
We may need add a patch for this if we insist want to add prefix.
Steps to Reproduce
No response
Expected behavior
No response
Environment
No response
The text was updated successfully, but these errors were encountered: