feat: migrate to S3 storage with automatic download and timestamped filenames

- Replace local file storage with S3-compatible object storage

- Add automatic PDF download after generation

- Include timestamps in filenames to ensure uniqueness

- Remove unused static volume from Kubernetes deployment

- Update ConfigMap to remove unused variables and add S3 configuration

- Configure S3 credentials via Kubernetes secrets for both dev and prod environments

- Add boto3 dependency for S3 integration
This commit is contained in:
2025-09-03 22:41:16 +02:00
parent a67db405f7
commit 75548dab2b
10 changed files with 164 additions and 67 deletions
@@ -16,6 +16,10 @@ spec:
value: development
- name: DEBUG
value: "false"
# Environment variables from S3 credentials secret
envFrom:
- secretRef:
name: s3-credentials
# Reduce resource consumption in development
resources:
requests:
@@ -17,4 +17,9 @@ images:
# Development-specific labels
commonLabels:
environment: development
security-level: standard
security-level: standard
secretGenerator:
- name: s3-credentials
envs:
- s3-credentials.env