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: initContainers:
- name: config-init - name: config-init
image: busybox 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: volumeMounts:
- name: config-volume-readonly - name: config-volume
mountPath: /config-readonly mountPath: /config-readonly
- name: config-volume-writable - name: configs-dir
mountPath: /config-writable mountPath: /whisper-configs
containers: containers:
- command: - command:
- python - python
@@ -51,7 +51,7 @@ spec:
name: app-claim0 name: app-claim0
- mountPath: /Whisper-WebUI/outputs - mountPath: /Whisper-WebUI/outputs
name: app-claim1 name: app-claim1
- name: config-volume-writable - name: configs-dir
mountPath: /Whisper-WebUI/configs mountPath: /Whisper-WebUI/configs
restartPolicy: Always restartPolicy: Always
volumes: volumes:
@@ -61,8 +61,8 @@ spec:
- name: app-claim1 - name: app-claim1
persistentVolumeClaim: persistentVolumeClaim:
claimName: app-claim1 claimName: app-claim1
- name: config-volume-readonly - name: config-volume
configMap: configMap:
name: whisper-webui-config name: whisper-webui-config
- name: config-volume-writable - name: configs-dir
emptyDir: {} emptyDir: {}