davical initcontainer
This commit is contained in:
@@ -15,6 +15,18 @@ spec:
|
|||||||
values:
|
values:
|
||||||
controllers:
|
controllers:
|
||||||
app:
|
app:
|
||||||
|
initContainers:
|
||||||
|
seed-config:
|
||||||
|
image:
|
||||||
|
repository: tuxnvape/davical-standalone
|
||||||
|
tag: "82-1.1.12"
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
if [ ! -f /mnt/config-pvc/davical.php ]; then
|
||||||
|
cp -r /config/. /mnt/config-pvc/
|
||||||
|
fi
|
||||||
containers:
|
containers:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
@@ -78,5 +90,9 @@ spec:
|
|||||||
size: 256Mi
|
size: 256Mi
|
||||||
storageClass: longhorn
|
storageClass: longhorn
|
||||||
retain: true
|
retain: true
|
||||||
globalMounts:
|
advancedMounts:
|
||||||
- path: /config
|
app:
|
||||||
|
app:
|
||||||
|
- path: /config
|
||||||
|
seed-config:
|
||||||
|
- path: /mnt/config-pvc
|
||||||
|
|||||||
Reference in New Issue
Block a user