From 3e76ddbae98882bc2233da8c789814f4034b0e86 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 9 May 2025 16:08:36 +0200 Subject: [PATCH] feat(deploy): Set securityContext for faster longhorn attach --- manifests/deployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index e45d7f6..1f1cd87 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -14,7 +14,10 @@ spec: app: synapse spec: securityContext: - fsGroup: 991 + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + fsGroupChangePolicy: OnRootMismatch affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: