From de84498023a449922eea2b738fa377bfe3ca0c24 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Tue, 6 Feb 2024 22:47:27 +0000 Subject: [PATCH] fix --- kubernetes/config-processor/config-processor.py | 1 + kubernetes/loculus/templates/_config-processor.tpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kubernetes/config-processor/config-processor.py b/kubernetes/config-processor/config-processor.py index 20efeef09..a81b11fea 100644 --- a/kubernetes/config-processor/config-processor.py +++ b/kubernetes/config-processor/config-processor.py @@ -1,3 +1,4 @@ +#! import os import shutil import requests diff --git a/kubernetes/loculus/templates/_config-processor.tpl b/kubernetes/loculus/templates/_config-processor.tpl index 52c7ff1fd..7d428865f 100644 --- a/kubernetes/loculus/templates/_config-processor.tpl +++ b/kubernetes/loculus/templates/_config-processor.tpl @@ -7,8 +7,8 @@ mountPath: /input - name: {{ .name }}-processed mountPath: /output - command: "/usr/bin/python /app/config-processor.py" - args: ["/input", "/output"] + command: ["/usr/bin/python"] + args: ["app/config-processor.py", "/input", "/output"] {{- end -}} {{- define "loculus.configVolume" -}}