Steve High (NTWRK)
01/06/2023, 9:41 PMrequest failed: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /sock/cerbos.sock: connect: permission denied"
I can't remember if I saw this before or how I fixed it 🤦 . I am connecting via gRPC on the unix socket as described in the errorSteve High (NTWRK)
01/06/2023, 10:21 PMCharith (Cerbos)
Charith (Cerbos)
0o766
., which makes it usable only by the user. You can change that with the udsFileMode
setting https://docs.cerbos.dev/cerbos/latest/configuration/server.html#_listen_addressesSteve High (NTWRK)
01/09/2023, 4:01 PMSteve High (NTWRK)
01/09/2023, 4:43 PM0o766
). However, one of our ops folks consolidated the helm chart for our cerbos integration into one file, and that's when things stopped working. Gonna try a few things on our side, but I might need some support in a bit if we can't spot the problem.Charith (Cerbos)
/sock
) doesn't give execute rights to the user? That could also be a cause.Steve High (NTWRK)
01/09/2023, 4:58 PMSteve High (NTWRK)
01/09/2023, 9:04 PMCharith (Cerbos)
emptyDir
volume for the socket