Commit Graph
101 Commits
Author SHA1 Message Date
jorgenseeyou a30d9c1071 docs(forte-drop-pg-backup): restore runbook lists and downloads with rclone
scan.yaml / test (pull_request) Successful in 35s
The runbook ran its listing and download pods with the mc image that can no
longer be pulled, so the recovery path was broken too. Same image and env-var
remote as the backup job. From the ai-review on the PR.
2026-11-24 12:53:20 +01:00
jorgenseeyou 4513a31975 fix(forte-drop-pg-backup): upload with rclone, the mc image can no longer be pulled
scan.yaml / test (pull_request) Successful in 8s
quay.io/minio/mc answers 401 for every tag since MinIO made the repository
private, so the upload container cannot be pulled. Same cause and fix as the
Gitea backup (90b8e6f): rclone/rclone:1.75.2, copy to s3:drops/_pgbackups/
and prune that prefix only with delete --min-age 30d.
2026-11-24 10:46:56 +01:00
danijel.simeunovic 0639a19a50 slack relay turn off gitops notifications
scan.yaml / test (push) Successful in 6s
2026-10-20 23:43:33 +02:00
danijel.simeunovic 60dfba9f7b slack relay namespace
scan.yaml / test (push) Successful in 6s
2026-10-20 23:13:47 +02:00
danijel.simeunovic 215d5fddba slack-relay
scan.yaml / test (push) Successful in 6s
2026-10-20 23:03:05 +02:00
danijel.simeunovic 72640a93dc fix backups
scan.yaml / test (push) Successful in 7s
2026-10-14 00:55:17 +02:00
danijel.simeunovic a68d804021 Update apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml
scan.yaml / test (push) Successful in 7s
2026-10-13 17:09:41 +00:00
danijel.simeunovic 6ef9d4eed7 Delete apps/charts/claude-impl.md
scan.yaml / test (push) Successful in 6s
2026-10-13 17:08:30 +00:00
danijel.simeunovic f0d4a53e5f ai-bot sealed secret
scan.yaml / test (push) Successful in 10s
2026-10-12 19:53:17 +02:00
danijel.simeunovic 8d09d106ff ai-bot impl
scan.yaml / test (push) Successful in 10s
2026-10-12 19:35:41 +02:00
danijel.simeunovic 133bdb8715 benken secret
/ test (push) Successful in 46s
2026-09-23 20:30:09 +02:00
danijel.simeunovic 705c010806 Mute deployment notifications
/ test (push) Successful in 9s
2026-08-25 12:34:33 +00:00
29624e845d fix(forte-drop-pg-backup): set MC_CONFIG_DIR so backups can upload (#23)
/ test (push) Successful in 10s
The nightly Postgres backup CronJob has been **failing every run** — no backups exist in `s3://drops/_pgbackups/`.

**Cause:** the upload container runs as uid 65532 (`runAsNonRoot`). `mc` defaults its config to `$HOME/.mc` = `/.mc` and dies with `mkdir /.mc: permission denied` on the non-writable root fs — before any upload.

**Fix:** set `MC_CONFIG_DIR=/work/.mc` (the shared emptyDir, writable via `fsGroup: 65532`). The `pg_dump` initContainer already succeeds; this lets the upload step actually run.

Validated: `kubectl kustomize` renders clean; env present on the upload container.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
Co-authored-by: Sten <sten@Sten-sin-MacBook-Pro.local>
Reviewed-on: #23
Reviewed-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
Co-authored-by: Jørgen Stensrud <jorgen.stensrud@fortedigital.com>
Co-committed-by: Jørgen Stensrud <jorgen.stensrud@fortedigital.com>
2026-08-25 09:44:02 +00:00
danijel.simeunovic 8216399155 trufflehog
/ test (push) Failing after 33s
2026-06-11 10:14:25 +02:00
danijel.simeunovic a24e61d538 disable slack notifications for forte-drop
Signed-off-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
2026-06-05 13:41:42 +00:00
jorgen.stensrudandSten 275ec675da fix(apps): drop dangling namespace.yaml ref (enterprise-apps ComparisonError) (#19)
0a98674 deleted `namespace.yaml` but `apps/overlays/upc-dev/forte-drop/kustomization.yaml` still lists it → `kustomize build` fails → the **enterprise-apps** app-of-apps has a ComparisonError and the whole overlay stopped syncing. Visible symptom: `secret "forte-drop-secrets" not found` on all forte-drop pods (the SealedSecret no longer applies).

One-line fix: remove the dangling resource entry. The namespace itself is fine — the forte-drop Application has `CreateNamespace=true`.

@danijel.simeunovic — pairs with your cleanup; after this merges the secret re-applies and the pods only need the right image tag (helm-prod-values PR #4: `buildcache` → `v20260604-200105-1316f7a`, buildcache is the buildx cache manifest, not a runnable image).

Co-authored-by: Sten <sten@Sten-sin-MacBook-Pro.local>
Reviewed-on: #19
Reviewed-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
2026-06-05 08:44:56 +00:00
danijel.simeunovic 0a98674a27 not needed 2026-06-05 00:05:56 +02:00
b713ec853c feat(apps): forte-drop web + mcp argocd apps (prod) (#18)
## Summary

ArgoCD Applications + Keycloak clients + sealed secret for forte-drop **web + mcp** (PROD).

## What changed

- **forte-drop** + **forte-drop-mcp** ArgoCD Applications (two-source: forte-helm chart + helm-prod-values).
- **namespace.yaml** — explicit `forte-drop` Namespace at sync-wave -1, `Prune=false` (avoids first-sync race for namespaced resources; doesn't cascade-delete on base removal).
- **keycloak-client-forte-drop** + **keycloak-client-forte-drop-mcp** — labeled config Secrets; the registrar creates the OIDC clients in the `forte` realm within ~2 min.
- **forte-drop-secrets** SealedSecret — UpCloud S3 creds (existing drops bucket) + PG creds + PASSWORD_GATE_SECRET. Consumed by both deployments + the pg-backup CronJob.
- **forte-drop-web PDB** — minAvailable 1 (selector verified against the live forteapp chart's pod labels).
- Wired into `apps/overlays/upc-dev` (NOT base → stays out of upc-prod).

## Post-merge manual step (one-time)

`auth-oidc` SealedSecret for the web sidecar is still commented out — it needs the `client-secret` the Keycloak registrar writes to `forte-drop-oidc-credentials` after first sync:

```bash
CLIENT_SECRET=$(kubectl -n forte-drop get secret forte-drop-oidc-credentials -o jsonpath='{.data.client-secret}' | base64 -d)
kubectl create secret generic auth-oidc -n forte-drop \
  --from-literal=client-secret="$CLIENT_SECRET" \
  --from-literal=cookie-secret="$(openssl rand -hex 32)" \
  --dry-run=client -o yaml > private/auth-oidc.yaml
kubeseal --format=yaml --controller-name=sealed-secrets-controller --controller-namespace=kube-system \
  < private/auth-oidc.yaml > apps/base/forte-drop/auth-oidc-sealed.yaml
# uncomment in kustomization, commit, push
```

## Depends on

- launchpad PR #17 (postgres + namespace via CreateNamespace).
- helm-prod-values forte-drop PR (values).

## Review

- [x] codex: namespace first-sync race → fixed (explicit namespace, sync-wave -1).
- [x] Keycloak registrar unblocked (stale chibisafe/minio config secrets removed; registrar green).

🤖 Generated with Claude Code

Co-authored-by: Sten <sten@Sten-sin-MacBook-Pro.local>
Co-authored-by: Sten <sten@Mac.domain_not_set.invalid>
Co-authored-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
Reviewed-on: #18
Reviewed-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
2026-06-04 18:47:08 +00:00
danijel.simeunovic dffb9c43f0 dbunk delete 2026-06-03 20:16:37 +02:00
danijel.simeunovic 5a459d486e dbunk-demo 2026-04-29 10:53:35 +02:00
danijel.simeunovic b4100bd456 mm ns 2026-04-27 20:16:06 +02:00
danijel.simeunovic fff117a500 ns 2026-04-27 17:40:46 +02:00
danijel.simeunovic 03c75fc4cd mm ns 2026-04-27 17:40:05 +02:00
danijel.simeunovic df73c4bdc0 mm sync pol 2026-04-27 17:37:54 +02:00
danijel.simeunovic 1d879c82f9 secrets shuffle 2026-04-27 12:21:50 +02:00
danijel.simeunovic 17d7c4a655 overlays 2026-04-27 11:49:10 +02:00
danijel.simeunovic f3dba72c5d aks-dev 2026-04-27 11:33:24 +02:00
gitea_adminanddanijel.simeunovic 8505481291 feature/multi-cloud (#14)
Co-authored-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com>
Reviewed-on: #14
2026-04-24 08:48:53 +00:00
danijel.simeunovic 06522b2f19 ts-mcp 2026-04-23 14:44:33 +02:00
danijel.simeunovic 4c65035485 ns 2026-04-23 14:11:45 +02:00
danijel.simeunovic 84f4bebc08 ts-mcp 2026-04-23 13:41:51 +02:00
danijel.simeunovic 5394b2c714 ts-mcp 2026-04-23 13:40:33 +02:00
danijel.simeunovic c4e586a7be ts-mcp 2026-04-23 13:38:47 +02:00
danijel.simeunovic 2fb276a62c ts-mcp 2026-04-23 13:02:00 +02:00
danijel.simeunovic 723072bd1e cleanup 2026-04-19 13:47:29 +02:00
danijel.simeunovicandDanijel Simeunovic 03a0d7c9ae feature/multicluster
Deploy Gitea Pages / build-and-deploy (push) Failing after 5s
Co-authored-by: Danijel Simeunovic <danijel.simeunovic@trumf.no>
Reviewed-on: #4
Reviewed-by: gitea_admin <admin@forteapps.net>
2026-04-18 18:14:00 +00:00
danijel.simeunovic 827213c883 migration 2026-04-13 15:54:14 +02:00
snothub 38433f62ce del mcpcoder 2026-03-29 15:20:27 +02:00
danijel.simeunovic 5071110c72 repo url fix 2026-03-20 13:02:48 +01:00
Danijel Simeunovic 3264f879b0 fortedigital/forte-helm 2026-03-20 09:42:32 +01:00
Danijel Simeunovic 852b906bb2 mcpcoder 2026-03-18 09:27:08 +01:00
Danijel Simeunovic 275c100af5 secrets 2026-03-16 10:14:21 +01:00
Danijel Simeunovic 6b181b8d78 del mcpcoder 2026-03-16 08:30:28 +01:00
Danijel Simeunovic bd264fe074 new repo 2026-03-15 22:19:26 +01:00
Danijel Simeunovic cb071b96d2 mcp10x app creds 2026-03-15 21:50:28 +01:00
Danijel Simeunovic e56a506eab mcp10x forteapp 2026-03-15 21:28:41 +01:00
Danijel Simeunovic 63f6b34bb5 mm 2026-03-15 15:22:18 +01:00
Danijel Simeunovic e87bfa5abd musicman forteapp 2026-03-15 14:31:50 +01:00
Danijel Simeunovic d077300d03 annot 2026-03-15 12:25:05 +01:00
Danijel Simeunovic 350714fd3c mcpcoder forteapp 2026-03-15 11:53:38 +01:00