[workers] WorkerManager should keep uid, gid from config
Closed this issue · 2 comments
LaurenceJJones commented
cs-haproxy-spoa-bouncer/cmd/root.go
Line 228 in 3c6a8aa
The worker manager should have the uid and gid of the socket permission instead of being set on startup by the config handler.
Reasons:
- Admin socket can create workers on adhoc basis and needs to be able to set uid, gid on socket.
LaurenceJJones commented
remove:
cs-haproxy-spoa-bouncer/pkg/cfg/config.go
Lines 89 to 92 in 3c6a8aa
LaurenceJJones commented
Set worker uid and gid here from manager context:
cs-haproxy-spoa-bouncer/internal/worker/root.go
Lines 87 to 95 in 3c6a8aa