From f65bd0b486b2a377b753b36660a07320aa8b396e Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sat, 1 Mar 2025 16:03:30 +0100 Subject: [PATCH] Change uid whisper translate 2 --- whishper/translate-deployment.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/whishper/translate-deployment.yaml b/whishper/translate-deployment.yaml index 18c25a2..82e15fc 100644 --- a/whishper/translate-deployment.yaml +++ b/whishper/translate-deployment.yaml @@ -22,6 +22,9 @@ spec: labels: io.kompose.service: translate spec: + securityContext: + runAsUser: 1032 + runAsGroup: 1032 containers: - env: - name: DB_PASS @@ -66,9 +69,7 @@ spec: - containerPort: 5000 protocol: TCP tty: true - securityContext: - runAsUser: 1032 - runAsGroup: 1032 + volumeMounts: - mountPath: /home/libretranslate/.local/share name: translate-claim0