davical initcontainer
This commit is contained in:
@@ -15,6 +15,18 @@ spec:
|
||||
values:
|
||||
controllers:
|
||||
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:
|
||||
app:
|
||||
image:
|
||||
@@ -78,5 +90,9 @@ spec:
|
||||
size: 256Mi
|
||||
storageClass: longhorn
|
||||
retain: true
|
||||
globalMounts:
|
||||
advancedMounts:
|
||||
app:
|
||||
app:
|
||||
- path: /config
|
||||
seed-config:
|
||||
- path: /mnt/config-pvc
|
||||
|
||||
Reference in New Issue
Block a user