Run the P2Pool stats sidecar as P2Pool's uid

P2Pool creates /api/local as 0750, so uid 65534 could not read
local/stratum and the endpoint stayed at 503.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 13:59:19 -05:00
co-authored by Claude Opus 5.5
parent 8984ece13a
commit 2befabf2bb
+3 -2
View File
@@ -297,8 +297,9 @@
memory: 64Mi
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
# P2Pool's uid: it creates /api/local as 0750, owner only.
runAsUser: 1001
runAsGroup: 1001
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities: