Add cred for cloudflared r2

This commit is contained in:
dvirlabs 2025-12-21 04:41:00 +02:00
parent b7d1b8cc02
commit 7bb08e35e8
3 changed files with 21 additions and 0 deletions

View File

@ -25,3 +25,9 @@ stringData:
# Frontend URL for redirects # Frontend URL for redirects
FRONTEND_URL: {{ .Values.frontend.externalUrl | quote }} FRONTEND_URL: {{ .Values.frontend.externalUrl | quote }}
# R2 Backup Configuration
R2_ENDPOINT: {{ .Values.r2.endpoint | quote }}
R2_ACCESS_KEY: {{ .Values.r2.accessKey | quote }}
R2_SECRET_KEY: {{ .Values.r2.secretKey | quote }}
BACKUP_INTERVAL: {{ .Values.r2.backupInterval | quote }}

View File

@ -143,6 +143,13 @@ email:
smtpPassword: "agaanrhbbazbdytv" smtpPassword: "agaanrhbbazbdytv"
smtpFrom: "dvirlabs@gmail.com" smtpFrom: "dvirlabs@gmail.com"
# R2 Backup Configuration
r2:
endpoint: "https://d4704b8c40b2f95b2c7bf7ee4ecc52f8.r2.cloudflarestorage.com"
accessKey: "" # Set this in my-recipes/values.yaml
secretKey: "" # Set this in my-recipes/values.yaml
backupInterval: "weekly" # Options: test (1 min), daily, weekly
# Ingress configuration # Ingress configuration
ingress: ingress:
enabled: false # Individual frontend/backend ingress resources handle routing instead enabled: false # Individual frontend/backend ingress resources handle routing instead

View File

@ -22,6 +22,7 @@ backend:
memory: 512Mi memory: 512Mi
env: env:
PYTHONUNBUFFERED: "1" PYTHONUNBUFFERED: "1"
ENVIRONMENT: "production"
ingress: ingress:
enabled: true enabled: true
className: "traefik" className: "traefik"
@ -129,6 +130,13 @@ email:
smtpUser: "dvirlabs@gmail.com" smtpUser: "dvirlabs@gmail.com"
smtpPassword: "agaanrhbbazbdytv" smtpPassword: "agaanrhbbazbdytv"
smtpFrom: "dvirlabs@gmail.com" smtpFrom: "dvirlabs@gmail.com"
# R2 Backup Configuration
r2:
endpoint: "https://d4704b8c40b2f95b2c7bf7ee4ecc52f8.r2.cloudflarestorage.com"
accessKey: "1997b1e48a337c0dbe1f7552a08631b5" # Replace with actual R2 access key
secretKey: "369694e39fedfedb254158c147171f5760de84fa2346d5d5d5a961f1f517dbc6" # Replace with actual R2 secret key
backupInterval: "weekly"
# Ingress (top-level, disabled - use component-specific ingress instead) # Ingress (top-level, disabled - use component-specific ingress instead)
ingress: ingress:
enabled: false enabled: false