feat(gitea): update Gitea version to 1.23.7 and enhance liveness probe with TLS support

This commit is contained in:
2025-05-09 23:22:34 +02:00
parent 17a54f6792
commit a0ac55e746
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ locals {
} }
# gitea # gitea
gitea_version = "1.23.4" gitea_version = "1.23.7"
gitea_fqdn = "code.${local.primary_domain}" gitea_fqdn = "code.${local.primary_domain}"
# sftpgo # sftpgo
+3 -2
View File
@@ -98,8 +98,9 @@ resource "kubernetes_deployment" "gitea" {
liveness_probe { liveness_probe {
http_get { http_get {
path = "/api/healthz" path = "/api/healthz"
port = "http" port = "http"
scheme = var.tls_enabled ? "HTTPS" : "HTTP"
} }
initial_delay_seconds = 200 initial_delay_seconds = 200
period_seconds = 300 period_seconds = 300
@@ -28,11 +28,13 @@ DISABLE_SSH = ${DISABLE_SSH}
SSH_PORT = ${SSH_PORT} SSH_PORT = ${SSH_PORT}
SSH_LISTEN_PORT = ${SSH_PORT} SSH_LISTEN_PORT = ${SSH_PORT}
LFS_START_SERVER = true LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
LFS_JWT_SECRET = ${LFS_JWT_SECRET} LFS_JWT_SECRET = ${LFS_JWT_SECRET}
DOMAIN = ${DOMAIN} DOMAIN = ${DOMAIN}
OFFLINE_MODE = false OFFLINE_MODE = false
[lfs]
PATH = /data/git/lfs
[database] [database]
PATH = /data/gitea/gitea.db PATH = /data/gitea/gitea.db
DB_TYPE = mysql DB_TYPE = mysql