Whisper-webui default-parameters writable 4

This commit is contained in:
Ruben Hensen
2025-03-04 15:33:58 +01:00
parent 6eaa184f06
commit 132ec75a94
+8 -2
View File
@@ -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
name: whisper-webui-config
- name: config-volume-writable
emptyDir: {}