From e2800b8e4678affb829e9879ddebc98798f583f7 Mon Sep 17 00:00:00 2001 From: elishadavidi <62501723+elishadavidi@users.noreply.github.com> Date: Thu, 28 May 2026 18:05:42 +0300 Subject: [PATCH] Clear chromium lock file on startup --- charts/omegabasms-chart/templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/omegabasms-chart/templates/deployment.yaml b/charts/omegabasms-chart/templates/deployment.yaml index 6efc9cc..83db5f9 100644 --- a/charts/omegabasms-chart/templates/deployment.yaml +++ b/charts/omegabasms-chart/templates/deployment.yaml @@ -30,6 +30,7 @@ spec: - name: omegabasms image: "{{ .Values.backend.image.repository }}:{{ .Values.backend.image.tag }}" imagePullPolicy: {{ .Values.backend.image.pullPolicy }} + command: ["sh", "-c", "find /app/.wwebjs_auth -name 'Singleton*' -delete 2>/dev/null; node index.js"] ports: - name: http containerPort: {{ .Values.backend.service.port }}