Skip to content

feat(forgejo): Stage 2 — Forgejo + CNPG + Valkey deployment#45

Merged
turtton merged 1 commit into
mainfrom
feat/forgejo-deploy
May 31, 2026
Merged

feat(forgejo): Stage 2 — Forgejo + CNPG + Valkey deployment#45
turtton merged 1 commit into
mainfrom
feat/forgejo-deploy

Conversation

@turtton

@turtton turtton commented May 30, 2026

Copy link
Copy Markdown
Owner

Summary

Stage 2: Forgejo本体のデプロイ (CNPG barman R2 backup + Valkey cache + Tailscale Ingress/SSH)

変更内容

  • Forgejo HelmRelease (OCI chart 17.1.0) — external CNPG DB接続, Valkey cache/session/queue
  • CNPG Cluster forgejo-db — barman R2 backup (WAL + base), gzip圧縮, 30日retention
  • Valkey Deployment + redis-exporter sidecar
  • Tailscale Ingress (forgejo.taile2777.ts.net) + SSH LoadBalancer (forgejo-ssh.taile2777.ts.net)
  • SOPS暗号化 Secrets (R2 credentials, Valkey password, admin credentials)
  • PSA baseline namespace, Longhorn recurring-job labels on PVC

Post-merge QA (手動)

  1. flux get kustomizations -A → apps READY
  2. kubectl -n forgejo get cluster forgejo-db → healthy
  3. kubectl apply -f docs/forgejo-runbook-assets/cnpg-initial-backup.yaml → 初回base backup
  4. Tailscale/Cloudflare Tunnel経由で WebUI アクセス確認

Depends on: PR #44 (merged ✅), PR #43 (merged ✅)

- Forgejo HelmRelease (OCI chart 17.1.0) with Tailscale Ingress + SSH LB
- CNPG Cluster (forgejo-db) with barman R2 backup + WAL archiving
- Valkey deployment with redis-exporter sidecar
- SOPS-encrypted secrets (R2, Valkey, admin credentials)
- PSA baseline namespace, Longhorn PVC backup labels
- Initial backup runbook asset (one-shot, not Flux-managed)
@github-actions

Copy link
Copy Markdown
Contributor

✅ Validation passed

Validation output
Summary: 39 resources found parsing stdin - Valid: 28, Invalid: 0, Errors: 0, Skipped: 11

@turtton turtton merged commit 96278ad into main May 31, 2026
1 check passed
@turtton turtton deleted the feat/forgejo-deploy branch May 31, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant