No description
  • Python 60.1%
  • Nix 35.3%
  • Shell 4.6%
Find a file
t3-code 01dbe2b18d
Some checks failed
T3 Code image verification / verify (push) Failing after 14s
Answer Forgejo's public name from inside the T3 Code pod
T3 reads `git remote get-url` to decide which server a repository lives on
and compares that host with the host on each pull request link. Links carry
the public host, so rewriting Git to the in-cluster service left T3 looking
for a host no link uses: it logged "Change requests cannot be browsed for
this project's host yet." and skipped pull request sync even though its
Forgejo provider lookup kept working.

Resolve the public name to the pod instead and relay it to the Forgejo HTTP
service from runtime/forward-forgejo.py on ports 80 and 443. Port 443
presents the certificate cert-manager issued from the existing cluster
issuer, because `fj` builds https for a bare hostname and Forgejo advertises
https clone and LFS URLs. Everything stays in the namespace: the relay, the
bootstrap and the credential helper come from the runtime ConfigMap, so no
image rebuild is needed, and cluster DNS and the gateway are untouched.

Start the relay before the logins that depend on it, retry a failed login
instead of crashing the container, and drop the rewrite, the HTTP/1.1
workaround and the second `fj` login that only papered over the mismatch.
2026-10-16 00:40:40 +00:00
.forgejo/workflows Add shared-store Nix snapshotter CI builder (#18) 2026-10-13 17:52:34 +00:00
cluster Answer Forgejo's public name from inside the T3 Code pod 2026-10-16 00:40:40 +00:00
docs/runbooks Fence server4 Longhorn scheduling and document safe storage containment 2026-10-15 06:36:21 +00:00
hosts WIP: Fixes 2026-09-07 01:36:04 -06:00
images Answer Forgejo's public name from inside the T3 Code pod 2026-10-16 00:40:40 +00:00
lib Reduce metrics ingestion and bound node log and snapshot churn 2026-10-15 06:36:40 +00:00
monitoring Fence server4 Longhorn scheduling and document safe storage containment 2026-10-15 06:36:21 +00:00
.gitignore First commit 2026-04-13 19:26:57 -06:00
.sops.yaml Added sops encryption 2026-05-15 13:55:26 -06:00
AGENTS.md feat(t3-code): kubectl and fluxcd, full-minus-secrets service account, global AGENTS.md 2026-10-15 05:30:09 +00:00
AUDIT.md WIP: Fixes 2026-09-07 01:36:04 -06:00
deploy.sh Version Bump 2026-08-24 03:02:28 -06:00
flake.lock Version bump! 2026-10-06 23:49:23 -06:00
flake.nix Add shared-store Nix snapshotter CI builder (#18) 2026-10-13 17:52:34 +00:00
LICENSE Added LICENSE 2026-05-14 12:55:42 -06:00
renovate.json fix(renovate): track OCI Helm charts and non-Nix dependencies (#21) 2026-10-15 03:36:52 +00:00
secrets.yaml Added K3s with Sops 2026-04-26 14:45:30 -06:00