fix: move default Gitea org from jordan to threesix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- Create threesix org in Gitea (org id=2)
- Change GITEA_DEFAULT_ORG default from "jordan" to "threesix"
- Add explicit GITEA_DEFAULT_ORG=threesix to k8s deployment

New projects will now be created under threesix/ instead of jordan/.
Existing repos under jordan/ are unaffected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jordan 2026-02-23 16:44:09 -07:00
parent fa0d030def
commit b03c1f8028
2 changed files with 3 additions and 1 deletions

View File

@ -125,7 +125,7 @@ func loadConfig() Config {
// Infrastructure adapters (fallback if not in credential store)
GiteaURL: envutil.GetEnv("GITEA_URL", "https://git.threesix.ai"),
GiteaToken: os.Getenv("GITEA_TOKEN"),
GiteaDefaultOrg: envutil.GetEnv("GITEA_DEFAULT_ORG", "jordan"),
GiteaDefaultOrg: envutil.GetEnv("GITEA_DEFAULT_ORG", "threesix"),
CloudflareToken: os.Getenv("CLOUDFLARE_API_TOKEN"),
CloudflareZoneID: os.Getenv("CLOUDFLARE_ZONE_ID"),
DefaultDomain: envutil.GetEnv("DEFAULT_DOMAIN", "threesix.ai"),

View File

@ -98,6 +98,8 @@ spec:
key: CREDENTIAL_ENCRYPTION_KEY
# Infrastructure adapters for threesix.ai (fallback if not in DB)
# Note: Using internal service hostnames to avoid hairpin NAT issues
- name: GITEA_DEFAULT_ORG
value: "threesix"
- name: GITEA_URL
value: "http://gitea.threesix.svc.cluster.local"
- name: GITEA_TOKEN