diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 7cb5703..5c7896f 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -18,7 +18,7 @@ spec: fsGroupChangePolicy: "OnRootMismatch" initContainers: - name: loader - image: git.baumann.gr/adebaumann/labhelper-data-loader:0.012 + image: git.baumann.gr/adebaumann/labhelper-data-loader:0.013 securityContext: runAsUser: 0 command: [ "sh","-c","if [ ! -f /data/db.sqlite3 ] || [ ! -s /data/db.sqlite3 ]; then cp preload/preload.sqlite3 /data/db.sqlite3 && echo 'Database copied from preload'; else echo 'Existing database preserved'; fi" ] @@ -27,7 +27,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/labhelper:0.047 + image: git.baumann.gr/adebaumann/labhelper:0.048 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/data-loader/preload.sqlite3 b/data-loader/preload.sqlite3 index ca9b6a2..12b932d 100644 Binary files a/data-loader/preload.sqlite3 and b/data-loader/preload.sqlite3 differ