mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Whisper-webui default-parameters writable 5
This commit is contained in:
@@ -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: {}
|
||||
Reference in New Issue
Block a user