From adf7c73501df4e2c46308394b30e62256dfef279 Mon Sep 17 00:00:00 2001 From: Nicolas Maillat Date: Thu, 14 Dec 2023 09:07:56 +0100 Subject: [PATCH] rm initcontainer from scheduler --- charts/phraseanet/templates/worker-scheduler.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/charts/phraseanet/templates/worker-scheduler.yaml b/charts/phraseanet/templates/worker-scheduler.yaml index d215a77..e16a0bb 100644 --- a/charts/phraseanet/templates/worker-scheduler.yaml +++ b/charts/phraseanet/templates/worker-scheduler.yaml @@ -110,17 +110,4 @@ spec: value: "C.UTF-8" - name: LC_NAME value: "C.UTF-8" - initContainers: - - name: create-tmp-locks - image: {{ .Values.image.registry }}/phraseanet-worker:{{ .Values.image.tag.phraseanet }} - volumeMounts: - - name: phraseanet-tmp - mountPath: "/var/alchemy/Phraseanet/tmp" - command: ['mkdir', '-p', '/var/alchemy/Phraseanet/tmp/locks'] - - name: chown-phraseanet-tmp - image: {{ .Values.image.registry }}/phraseanet-worker:{{ .Values.image.tag.phraseanet }} - volumeMounts: - - name: phraseanet-tmp - mountPath: "/var/alchemy/Phraseanet/tmp" - command: ['chown', '-R', 'app:app', '/var/alchemy/Phraseanet/tmp'] -{{- end }} \ No newline at end of file +{{- end }}