Whisper-webui default-parameters writable 5

This commit is contained in:
Ruben Hensen
2025-03-04 15:36:19 +01:00
parent 132ec75a94
commit 81e845cc61
+7 -7
View File
@@ -25,12 +25,12 @@ spec:
initContainers:
- name: config-init
image: busybox
command: ['sh', '-c', 'cp /config-readonly/default_parameters.yaml /config-writable/']
command: ['sh', '-c', 'mkdir -p /whisper-configs && cp /config-readonly/default_parameters.yaml /whisper-configs/ && chmod 666 /whisper-configs/default_parameters.yaml']
volumeMounts:
- name: config-volume-readonly
- name: config-volume
mountPath: /config-readonly
- name: config-volume-writable
mountPath: /config-writable
- name: configs-dir
mountPath: /whisper-configs
containers:
- command:
- python
@@ -51,7 +51,7 @@ spec:
name: app-claim0
- mountPath: /Whisper-WebUI/outputs
name: app-claim1
- name: config-volume-writable
- name: configs-dir
mountPath: /Whisper-WebUI/configs
restartPolicy: Always
volumes:
@@ -61,8 +61,8 @@ spec:
- name: app-claim1
persistentVolumeClaim:
claimName: app-claim1
- name: config-volume-readonly
- name: config-volume
configMap:
name: whisper-webui-config
- name: config-volume-writable
- name: configs-dir
emptyDir: {}