Compare commits

..

1 Commits

Author SHA1 Message Date
2ba05a2913 Sonarqube temporarily turned off 2026-01-19 14:44:48 +01:00
3 changed files with 3 additions and 8 deletions

View File

@@ -14,21 +14,19 @@ spec:
app: django app: django
spec: spec:
securityContext: securityContext:
fsGroup: 99 fsGroup: 999
fsGroupChangePolicy: "OnRootMismatch" fsGroupChangePolicy: "OnRootMismatch"
initContainers: initContainers:
- name: loader - name: loader
image: git.baumann.gr/adebaumann/vui-data-loader:0.11 image: git.baumann.gr/adebaumann/vui-data-loader:0.11
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" ] command: [ "sh","-c","cp -n preload/preload.sqlite3 /data/db.sqlite3; chown -R 999:999 /data; ls -la /data; sleep 10; exit 0" ]
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /data mountPath: /data
containers: containers:
- name: web - name: web
image: git.baumann.gr/adebaumann/vui:0.982 image: git.baumann.gr/adebaumann/vui:0.980
imagePullPolicy: Always imagePullPolicy: Always
securityContext:
runAsUser: 99
env: env:
# Secret configuration # Secret configuration
- name: VORGABENUI_SECRET - name: VORGABENUI_SECRET

View File

@@ -4,9 +4,6 @@ metadata:
name: django-data-pv name: django-data-pv
namespace: vorgabenui namespace: vorgabenui
spec: spec:
claimRef:
name: django-data-pvc
namespace: vorgabenui
capacity: capacity:
storage: 2Gi storage: 2Gi
accessModes: accessModes: