SECRET_KEY now uses a kubernetes secret with a fallback value for local testing
All checks were successful
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/labhelper) (push) Successful in 3m9s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/labhelper-data-loader) (push) Successful in 6s

This commit is contained in:
2025-12-30 17:05:30 +01:00
parent 20e5e0b0c1
commit bd36132946
4 changed files with 62 additions and 2 deletions

View File

@@ -27,10 +27,16 @@ spec:
mountPath: /data
containers:
- name: web
image: git.baumann.gr/adebaumann/labhelper:0.039
image: git.baumann.gr/adebaumann/labhelper:0.040
imagePullPolicy: Always
ports:
- containerPort: 8000
env:
- name: DJANGO_SECRET_KEY
valueFrom:
secretKeyRef:
name: django-secret
key: secret-key
volumeMounts:
- name: data
mountPath: /app/data