Data-Loader added as initcontainer

This commit is contained in:
2025-10-06 14:34:54 +02:00
parent bba32d08e3
commit 244e9e155f
6 changed files with 28 additions and 3 deletions

View File

@@ -16,6 +16,13 @@ spec:
securityContext:
fsGroup: 999
fsGroupChangePolicy: "OnRootMismatch"
initContainers:
- name: loader
image: adebaumann/vgui-preloader:0.5
command: [ "sh","-c","cp -v --debug --update=none /preload/preload.sqlite3 /data/db.sqlite3; chown -R 999:999 /data; ls -la /data; exit 0" ]
volumeMounts:
- name: data
mountPath: /data
containers:
- name: web
image: docker.io/adebaumann/vui:0.917