fix: move default Gitea org from jordan to threesix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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:
parent
fa0d030def
commit
b03c1f8028
@ -125,7 +125,7 @@ func loadConfig() Config {
|
|||||||
// Infrastructure adapters (fallback if not in credential store)
|
// Infrastructure adapters (fallback if not in credential store)
|
||||||
GiteaURL: envutil.GetEnv("GITEA_URL", "https://git.threesix.ai"),
|
GiteaURL: envutil.GetEnv("GITEA_URL", "https://git.threesix.ai"),
|
||||||
GiteaToken: os.Getenv("GITEA_TOKEN"),
|
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"),
|
CloudflareToken: os.Getenv("CLOUDFLARE_API_TOKEN"),
|
||||||
CloudflareZoneID: os.Getenv("CLOUDFLARE_ZONE_ID"),
|
CloudflareZoneID: os.Getenv("CLOUDFLARE_ZONE_ID"),
|
||||||
DefaultDomain: envutil.GetEnv("DEFAULT_DOMAIN", "threesix.ai"),
|
DefaultDomain: envutil.GetEnv("DEFAULT_DOMAIN", "threesix.ai"),
|
||||||
|
|||||||
@ -98,6 +98,8 @@ spec:
|
|||||||
key: CREDENTIAL_ENCRYPTION_KEY
|
key: CREDENTIAL_ENCRYPTION_KEY
|
||||||
# Infrastructure adapters for threesix.ai (fallback if not in DB)
|
# Infrastructure adapters for threesix.ai (fallback if not in DB)
|
||||||
# Note: Using internal service hostnames to avoid hairpin NAT issues
|
# Note: Using internal service hostnames to avoid hairpin NAT issues
|
||||||
|
- name: GITEA_DEFAULT_ORG
|
||||||
|
value: "threesix"
|
||||||
- name: GITEA_URL
|
- name: GITEA_URL
|
||||||
value: "http://gitea.threesix.svc.cluster.local"
|
value: "http://gitea.threesix.svc.cluster.local"
|
||||||
- name: GITEA_TOKEN
|
- name: GITEA_TOKEN
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user