SECRET_KEY now uses a kubernetes secret with a fallback value for local testing
Some checks failed
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/vui) (push) Successful in 2m9s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/vui-data-loader) (push) Successful in 9s
SonarQube Scan / SonarQube Trigger (push) Failing after 2m29s

This commit is contained in:
2026-01-15 16:04:25 +01:00
parent 9d0a838238
commit ffda7ca601
11 changed files with 879 additions and 3 deletions

View File

@@ -25,8 +25,14 @@ spec:
mountPath: /data
containers:
- name: web
image: git.baumann.gr/adebaumann/vui:0.975
image: git.baumann.gr/adebaumann/vui:0.976
imagePullPolicy: Always
env:
- name: VORGABENUI_SECRET
valueFrom:
secretKeyRef:
name: vorgabenui-secrets
key: vorgabenui_secret
ports:
- containerPort: 8000
volumeMounts:

13
argocd/secret.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Secret
metadata:
name: vorgabenui-secrets
namespace: vorgabenui
annotations:
# Prevent ArgoCD from managing this secret - it's deployed by script
argocd.argoproj.io/ignore: "true"
type: Opaque
data:
# Base64 encoded SECRET_KEY - populated by deployment script
# This is a TEMPLATE FILE - not deployed by ArgoCD
vorgabenui_secret: ""