From 51a73fb213f020e80def9902e9216ae8d52c9565 Mon Sep 17 00:00:00 2001 From: mr-forust Date: Sat, 3 Oct 2026 22:37:48 +0200 Subject: [PATCH] chore(gitea): switch domain to git.forust.xyz (28.0.0 update) --- .gitea/workflows/renovate-run.yaml | 2 +- gitea/compose.yaml | 7 +++++-- gitea/k8s/config.yaml | 7 +++++-- glance/k8s/glance-config.yaml | 4 ++-- homepages/forust_files/index.html | 2 +- renovate/.env.example | 2 +- renovate/k8s/secrets.yaml.example | 2 +- 7 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/renovate-run.yaml b/.gitea/workflows/renovate-run.yaml index cd5644c..658a603 100644 --- a/.gitea/workflows/renovate-run.yaml +++ b/.gitea/workflows/renovate-run.yaml @@ -81,7 +81,7 @@ jobs: docker run --rm \ -v "$PWD/renovate/renovate.json:/opt/renovate/renovate.json:ro" \ -e RENOVATE_PLATFORM=gitea \ - -e RENOVATE_ENDPOINT=https://gitea.forust.xyz/api/v1 \ + -e RENOVATE_ENDPOINT=https://git.forust.xyz/api/v1 \ -e RENOVATE_TOKEN="$RENOVATE_TOKEN" \ -e RENOVATE_GITHUB_COM_TOKEN="${RENOVATE_GITHUB_COM_TOKEN:-}" \ -e RENOVATE_REPOSITORIES="${RENOVATE_REPOSITORIES:-forust/homelab}" \ diff --git a/gitea/compose.yaml b/gitea/compose.yaml index 415915e..923b490 100644 --- a/gitea/compose.yaml +++ b/gitea/compose.yaml @@ -13,9 +13,12 @@ services: - GITEA__database__PASSWD=gitea - GITEA__database__NAME=gitea # Server - - GITEA__server__ROOT_URL=https://gitea.forust.xyz + - GITEA__server__ROOT_URL=https://git.forust.xyz - GITEA__server__SSH_DOMAIN=gitssh.forust.xyz - GITEA__server__SSH_PORT=2221 + # Pin 28.0 defaults explicitly (see k8s/config.yaml for rationale) + - GITEA__service__DISABLE_REGISTRATION=true + - GITEA__actions__RUN_RETENTION_DAYS=90 # Mailer - GITEA__mailer__ENABLED=true - GITEA__mailer__FROM=${SERVICE_EMAIL} @@ -34,7 +37,7 @@ services: - "traefik.http.services.gitea.loadbalancer.server.port=3000" # Prod Router - - "traefik.http.routers.gitea.rule=Host(`gitea.forust.xyz`)" + - "traefik.http.routers.gitea.rule=Host(`git.forust.xyz`) || Host(`gitea.forust.xyz`)" - "traefik.http.routers.gitea.entrypoints=websecure" - "traefik.http.routers.gitea.tls.certresolver" # Local Router diff --git a/gitea/k8s/config.yaml b/gitea/k8s/config.yaml index 7e08d7b..771d5a6 100644 --- a/gitea/k8s/config.yaml +++ b/gitea/k8s/config.yaml @@ -4,11 +4,14 @@ metadata: name: gitea-config namespace: gitea data: - GITEA__server__DOMAIN: "gitea.forust.xyz" - GITEA__server__ROOT_URL: "https://gitea.forust.xyz" + GITEA__server__ROOT_URL: "https://git.forust.xyz" GITEA__server__SSH_DOMAIN: "gitssh.forust.xyz" GITEA__server__SSH_PORT: "2221" + GITEA__service__DISABLE_REGISTRATION: "true" + + GITEA__actions__RUN_RETENTION_DAYS: "90" + GITEA__database__DB_TYPE: "postgres" GITEA__database__HOST: "postgres.database.svc.cluster.local:5432" GITEA__database__NAME: "gitea" diff --git a/glance/k8s/glance-config.yaml b/glance/k8s/glance-config.yaml index 5593220..a0a8608 100644 --- a/glance/k8s/glance-config.yaml +++ b/glance/k8s/glance-config.yaml @@ -177,8 +177,8 @@ data: # url: https://gitssh.forust.xyz # - title: gcr.forust.xyz # url: https://gcr.forust.xyz/v2/ - - title: gitea.forust.xyz - url: https://gitea.forust.xyz + - title: git.forust.xyz + url: https://git.forust.xyz - title: nextcloud.forust.xyz url: https://nextcloud.forust.xyz - title: mc.forust.xyz diff --git a/homepages/forust_files/index.html b/homepages/forust_files/index.html index 99fd754..d89a32d 100644 --- a/homepages/forust_files/index.html +++ b/homepages/forust_files/index.html @@ -174,7 +174,7 @@

./projects

diff --git a/renovate/.env.example b/renovate/.env.example index 18fbc48..1208d0d 100644 --- a/renovate/.env.example +++ b/renovate/.env.example @@ -1,4 +1,4 @@ -RENOVATE_ENDPOINT=https://gitea.forust.xyz/api/v1 +RENOVATE_ENDPOINT=https://git.forust.xyz/api/v1 RENOVATE_TOKEN= RENOVATE_REPOSITORIES=forust/homelab LOG_LEVEL=info diff --git a/renovate/k8s/secrets.yaml.example b/renovate/k8s/secrets.yaml.example index b1ef1ef..c589c83 100644 --- a/renovate/k8s/secrets.yaml.example +++ b/renovate/k8s/secrets.yaml.example @@ -6,6 +6,6 @@ metadata: type: Opaque stringData: RENOVATE_TOKEN: "" - RENOVATE_ENDPOINT: "https://gitea.forust.xyz/api/v1" + RENOVATE_ENDPOINT: "https://git.forust.xyz/api/v1" RENOVATE_REPOSITORIES: "forust/homelab" RENOVATE_GITHUB_COM_TOKEN: ""