- 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
10 lines
193 B
YAML
10 lines
193 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: math-exercises-config
|
|
data:
|
|
# Application configuration
|
|
PORT: "8000"
|
|
LOG_LEVEL: "INFO"
|
|
MAX_REQUEST_SIZE: "10mb"
|
|
REQUEST_TIMEOUT: "30s" |