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
+3 -2
View File
@@ -98,8 +98,9 @@ resource "kubernetes_deployment" "gitea" {
liveness_probe {
http_get {
path = "/api/healthz"
port = "http"
path = "/api/healthz"
port = "http"
scheme = var.tls_enabled ? "HTTPS" : "HTTP"
}
initial_delay_seconds = 200
period_seconds = 300
@@ -28,11 +28,13 @@ DISABLE_SSH = ${DISABLE_SSH}
SSH_PORT = ${SSH_PORT}
SSH_LISTEN_PORT = ${SSH_PORT}
LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
LFS_JWT_SECRET = ${LFS_JWT_SECRET}
DOMAIN = ${DOMAIN}
OFFLINE_MODE = false
[lfs]
PATH = /data/git/lfs
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = mysql