From 132ec75a940a38bf7b41bf53c199b91227d8d0a4 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 4 Mar 2025 15:33:58 +0100 Subject: [PATCH] Whisper-webui default-parameters writable 4 --- whisper-webui/app-deployment.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/whisper-webui/app-deployment.yaml b/whisper-webui/app-deployment.yaml index 35bd3ec..af31fe9 100644 --- a/whisper-webui/app-deployment.yaml +++ b/whisper-webui/app-deployment.yaml @@ -25,10 +25,12 @@ spec: initContainers: - name: config-init image: busybox - command: ['sh', '-c', 'cp /config-readonly/default_parameters.yaml /Whisper-WebUI/configs/default_parameters.yaml'] + command: ['sh', '-c', 'cp /config-readonly/default_parameters.yaml /config-writable/'] volumeMounts: - name: config-volume-readonly mountPath: /config-readonly + - name: config-volume-writable + mountPath: /config-writable containers: - command: - python @@ -49,6 +51,8 @@ spec: name: app-claim0 - mountPath: /Whisper-WebUI/outputs name: app-claim1 + - name: config-volume-writable + mountPath: /Whisper-WebUI/configs restartPolicy: Always volumes: - name: app-claim0 @@ -59,4 +63,6 @@ spec: claimName: app-claim1 - name: config-volume-readonly configMap: - name: whisper-webui-config \ No newline at end of file + name: whisper-webui-config + - name: config-volume-writable + emptyDir: {} \ No newline at end of file