Below is what I have added in the yaml file ```ap...
# spicedb
r
Below is what I have added in the yaml file
Copy code
apiVersion: v1
kind: ServiceAccount
metadata:
  name: spicedb
  namespace: authz
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  namespace: authz
  name: watch-service
rules:
- apiGroups: [""] # "" indicates the core API group
  resources: ["endpoints"]
  verbs: ["get", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: spicedb-watch-service
  namespace: authz
subjects:
- kind: ServiceAccount
  name: spicedb
roleRef:
  kind: Role
  name: watch-service
  apiGroup: rbac.authorization.k8s.io
I still get below error :
Copy code
kuberesolver: watching ended with error='invalid response code 403 for service spicedb in namespace authz', will reconnect again