mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 18:42:56 +02:00
Whisper-webui default-parameters writable 4
This commit is contained in:
@@ -25,10 +25,12 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: config-init
|
- name: config-init
|
||||||
image: busybox
|
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:
|
volumeMounts:
|
||||||
- name: config-volume-readonly
|
- name: config-volume-readonly
|
||||||
mountPath: /config-readonly
|
mountPath: /config-readonly
|
||||||
|
- name: config-volume-writable
|
||||||
|
mountPath: /config-writable
|
||||||
containers:
|
containers:
|
||||||
- command:
|
- command:
|
||||||
- python
|
- python
|
||||||
@@ -49,6 +51,8 @@ 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
|
||||||
|
mountPath: /Whisper-WebUI/configs
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: app-claim0
|
- name: app-claim0
|
||||||
@@ -60,3 +64,5 @@ spec:
|
|||||||
- name: config-volume-readonly
|
- name: config-volume-readonly
|
||||||
configMap:
|
configMap:
|
||||||
name: whisper-webui-config
|
name: whisper-webui-config
|
||||||
|
- name: config-volume-writable
|
||||||
|
emptyDir: {}
|
||||||
Reference in New Issue
Block a user