diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index a454985..2b346b3 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.011 + image: git.baumann.gr/adebaumann/labhelper-data-loader:0.012 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.043 + image: git.baumann.gr/adebaumann/labhelper:0.044 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/data-loader/preload.sqlite3 b/data-loader/preload.sqlite3 index 2c608a0..ca9b6a2 100644 Binary files a/data-loader/preload.sqlite3 and b/data-loader/preload.sqlite3 differ