55 Commits

Author SHA1 Message Date
Alex 9bd97fe6f9 strip forwarded headers from scryfall proxy 2026-11-20 15:27:44 -07:00
Alex 653efa7416 fix playmat api cache config 2026-11-20 15:27:12 -07:00
Alex 29daba607e disable poisoned playmat api cache 2026-11-20 15:24:38 -07:00
Alex 2b1fdf2d96 separate playmat api cache methods 2026-11-20 15:23:42 -07:00
Alex c5c3a00de6 use internal playmat scryfall api proxy 2026-11-20 15:23:00 -07:00
Alex 148bd4758d fix playmat image api accept header 2026-11-20 15:21:42 -07:00
Alex 9979756ce3 normalize playmat scryfall api requests 2026-11-20 15:20:11 -07:00
Alex 7399582c7f use scryfall image header for redirects 2026-11-20 15:18:44 -07:00
Alex df6c320ee6 rewrite playmat internal image redirects 2026-11-20 15:18:17 -07:00
Alex 1ed1dd434a preserve playmat scryfall image redirects 2026-11-20 15:17:41 -07:00
Alex 00b7600ab1 fix playmat image redirect host 2026-11-20 15:16:54 -07:00
Alex 3466f870fe quote playmat boolean environment values 2026-11-20 15:16:11 -07:00
Alex bfbf99d54f fix playmat host and image throttling 2026-11-20 15:15:06 -07:00
Alex 48d1480fd8 work around scryfall cdn certificate 2026-11-20 13:49:31 -07:00
Alex 742379b48c fix playmat card image sni 2026-11-20 13:48:53 -07:00
Alex db5e228696 force ipv4 for playmat scryfall proxy 2026-11-20 13:46:26 -07:00
Alex a6bc0fc4c9 fix playmat scryfall image proxy 2026-11-20 13:44:53 -07:00
Alex 5cf2ae891b fix playmat health probes 2026-11-19 19:24:42 -07:00
Alex 9bcb460614 fix playmat data volume permissions 2026-11-19 19:17:08 -07:00
Alex 92f56076e4 avoid kubernetes service env collisions 2026-11-19 19:13:29 -07:00
Alex 3bcc32fb8e fix playmat container startup 2026-11-19 19:12:11 -07:00
Alex ffa01aa378 add playmat to k3s 2026-11-19 19:08:48 -07:00
funman300 eae9efff9f Run Wekan with persistent FerretDB SQLite 2026-11-11 20:24:08 -07:00
funman300 59ae43cc28 Replace Planka with self-hosted WeKan 2026-11-11 20:12:15 -07:00
funman300 99fa25fbd4 Remove Planka admin bootstrap settings 2026-11-11 19:49:06 -07:00
funman300 8b64840166 Deploy private Planka wedding planner 2026-11-11 19:44:41 -07:00
funman300 8a2a2fec2e Fix Nightscout Traefik middleware reference 2026-11-07 17:52:36 -07:00
funman300 5318a9bcab Allow Nightscout read access from trusted LAN 2026-11-07 17:45:49 -07:00
funman300 8ceab533a1 Restrict anonymous Nightscout access to LAN 2026-11-07 17:37:37 -07:00
Alex 4a9e87d667 fix vaultwarden pvc permissions 2026-11-05 12:19:50 -07:00
Alex 14efe984cb rollback database seccomp profiles 2026-11-03 19:12:23 -08:00
Alex 835f9aa42b fix postgres pod hardening 2026-11-03 19:09:37 -08:00
Alex 344e824a53 fix mongo pod hardening 2026-11-03 19:07:47 -08:00
Alex 2763f74ab0 harden k3s workloads and ingress 2026-11-03 19:04:59 -08:00
funman300 664161d284 Allow Vikunja webhooks to internal services 2026-09-02 17:07:41 -07:00
funman300 69b0587f41 Update n8n deployment configuration 2026-09-02 16:15:59 -07:00
funman300 e995132102 Fix n8n OAuth callback configuration 2026-09-02 16:14:35 -07:00
funman300 6233865066 Fix n8n OAuth callback 2026-09-02 16:13:02 -07:00
funman300 afc3d3095f Match n8n ingress to working Traefik pattern 2026-09-02 15:36:31 -07:00
funman300 bce3ed5ad9 Fix n8n cert-manager issuer 2026-09-02 15:30:51 -07:00
funman300 d7ebcdfec2 Add n8n 2026-09-02 15:21:39 -07:00
funman300 148ad658ce Add Vikunja deployment 2026-09-02 12:54:12 -07:00
funman300 1b20db2e02 Delete directory 'apps/notesnook' 2026-09-02 19:35:23 +00:00
funman300 8f480657ef Delete directory 'apps/obsidian-livesync' 2026-09-02 19:35:16 +00:00
Claude 1261e238aa Add vaultwarden app (migrated from docker on 10.10.0.5)
- Pinned to 1.37.0 so the migration is not also an upgrade
- ADMIN_TOKEN rotated to an Argon2id PHC string, stored as a SealedSecret.
  The old token was plaintext AND set in config.json, which overrides env --
  both that key and signups_allowed were removed during migration so the
  Deployment is the source of truth. signups had been silently enabled.
- /admin keeps Authentik forward-auth at priority 1000 (Traefik's default
  priority is rule length; the old docker router used 10 vs an implicit 24
  and was therefore bypassed).
- vault.aleshym.co stays private: absent from the k3s public catchall and
  from the Docker Traefik wan entrypoint.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 12:44:05 -07:00
funman300 e6c4c894e4 feat(cloudflare-ddns): keep aleshym.co pointed at the current WAN IP
The WAN is on DHCP with no DDNS anywhere, so a lease change would break
public DNS silently -- certs, Plex and Gitea SSH all resolve through
aleshym.co. cert-manager's Cloudflare token only ever writes the
_acme-challenge TXT records and never touches the A record.

Reuses that same token, resealed for this namespace: its Zone:DNS:Edit
scope already covers A records (verified against the live API).

The updater only PATCHes when the record is actually stale, and PATCHes
content alone so the proxied flag and TTL stay as configured. It exits
non-zero on any failure so a broken run surfaces as a Failed job rather
than dying quietly -- silent failure is the thing this exists to prevent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 18:53:18 -07:00
Alex fb110d1c5b chore(sealed-secrets): commit controller manifest with key renewal disabled
Pins a single sealing key (--key-renew-period=0). Upstream rotates every 30d and
kubeseal seals with the newest key, which would silently invalidate the off-cluster
key backup for secrets sealed after a rotation. Includes DR runbook.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 10:09:08 -07:00
Alex 3a9675f992 feat(secrets): seal remaining user-provided cluster secrets
Converts cloudflare-api-token, argocd repo creds, nightscout, and the three
solitaire secrets to SealedSecrets (adopted in place; values verified unchanged
by before/after data hash). Controller-generated secrets (cert-manager webhook CA,
LE account key, argocd internals) intentionally left alone.

Verified post-seal: argocd repository label and dockerconfigjson type preserved,
letsencrypt-prod issuer still Ready, both ArgoCD apps still Synced/Healthy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 10:01:58 -07:00
Alex 07654cd135 feat(notesnook): manage secret via SealedSecret
Secrets are now committed encrypted (sealed-secrets v0.38.4) instead of
hand-applied out-of-band, closing the config-DR gap the backups intentionally
don't cover. Existing Secret adopted via the managed annotation (values verified
unchanged). Controller private key backed up GPG-encrypted off-cluster.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 09:21:35 -07:00
Alex 4b801e3444 feat(notesnook): migrate self-hosted Notesnook to k3s
Adds apps/notesnook (namespace, config, mongo rs0 StatefulSet, minio,
identity/sync/sse/monograph deployments + Traefik/cert-manager ingresses)
and argocd/notesnook.yaml. Secret applied out-of-band (only .example committed).
Includes design spec + implementation plan under docs/superpowers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-15 22:33:56 -07:00