fix: release v0.2.1 lesson deletes and large uploads

- Raise Traefik read timeout to 1h (compose dev/prod + k3s HelmChartConfig)
  so admin video uploads up to 200MB no longer 502 mid-upload.
- Migration 0029: cascade watch/quiz history on lesson delete and unlink
  dependent lessons, so removing a lesson or chapter stops 500ing.
- Add the Apollo cluster Helm overlay (values-apollo.yaml) for the deployed
  environment.
- k3s Traefik chart config also enables access logs, cross-namespace
  IngressRoutes, and fixes the Prometheus scrape port.

Bump appVersion/product.go/values tags to 0.2.1; chart version 0.2.3.
This commit is contained in:
ahp
2026-10-16 09:44:23 +03:30
parent 22d92c133d
commit 75e2892e36
9 changed files with 163 additions and 7 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ apiVersion: v2
name: pargar
description: Pargar gated LMS - Go API, Next.js frontend, Postgres, Redis, S3-compatible storage
type: application
version: 0.2.2
appVersion: "0.2.0"
version: 0.2.3
appVersion: "0.2.1"
keywords:
- lms
- pargar
+81
View File
@@ -0,0 +1,81 @@
backend:
autoscaling:
enabled: false
env:
devMode: "false"
donationEnabled: "true"
otelEndpoint: http://tempo.infra.svc.cluster.local:4318
physicalCertEnabled: "false"
seedCurriculum: "false"
existingSecret: pargar-app
image:
pullPolicy: IfNotPresent
repository: pargar-backend
tag: 0.2.1
metrics:
serviceMonitor:
enabled: true
interval: 30s
podDisruptionBudget:
enabled: true
minAvailable: 1
replicaCount: 3
resources:
limits:
cpu: "1"
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
backup:
enabled: true
persistence:
size: 2Gi
retentionDays: 7
schedule: 0 3 * * *
certManager:
enabled: false
frontend:
autoscaling:
enabled: false
image:
pullPolicy: IfNotPresent
repository: pargar-frontend
tag: 0.2.1
podDisruptionBudget:
enabled: false
replicaCount: 2
resources:
limits:
cpu: "1"
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
global:
domain: pargar.panahifar.ir
frontendOrigins: https://pargar.panahifar.ir
imageRegistry: ""
publicUrl: https://pargar.panahifar.ir
imagePullSecrets: []
ingress:
enabled: true
tls:
enabled: true
existingSecret: pargar-wildcard-tls
useIngressRoute: true
networkPolicy:
enabled: false
postgres:
enabled: true
persistence:
size: 10Gi
redis:
enabled: true
persistence:
size: 2Gi
rustfs:
consoleEnable: false
enabled: true
persistence:
size: 20Gi
+2 -2
View File
@@ -22,7 +22,7 @@ backend:
replicaCount: 2
image:
repository: backend
tag: "0.2.0"
tag: "0.2.1"
pullPolicy: IfNotPresent
existingSecret: pargar-app
env:
@@ -49,7 +49,7 @@ frontend:
replicaCount: 2
image:
repository: frontend
tag: "0.2.0"
tag: "0.2.1"
pullPolicy: IfNotPresent
resources:
requests: