From 2befabf2bbbd0908b5dcea9ba0d9403e6578c739 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 8 Nov 2026 13:59:19 -0500 Subject: [PATCH] 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 --- tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6ebdf40..7fdfa78 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: