How to resolve the 403 issue when accessing dispatcher in K8s. #1755
-
I config the dispatcher as below in a deployment.yaml, but it causes time-out issue when I check permission. I saw the logs in spicedb pod "invalid response code 403 for service spicedb-permission-service in namespace". Is there any configurations should I do in k8s?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@karlwang1983 I think that mostly looks fine, I'd probably put the - verbs:
- get
- list
- watch
apiGroups:
- ""
resources:
- endpoints |
Beta Was this translation helpful? Give feedback.
@karlwang1983 I think that mostly looks fine, I'd probably put the
.<your_namespace>
suffix just in case, and we usually do:dispatch
which is the name of the dispatch port defined. Are you setting RBAC properly? you need to create aServiceAccount
with permission to read endpoints: