fix(gitea): Change to public DNS with private IP

This commit is contained in:
2026-01-26 08:53:46 +01:00
parent 955424cc70
commit b49f8dc005
+13 -13
View File
@@ -56,8 +56,8 @@ gitea:
ENABLE_NOTIFY_MAIL: true
server:
APP_DATA_PATH: "/data/gitea"
DOMAIN: git.svc.hel1.obx
ROOT_URL: https://git.svc.hel1.obx
DOMAIN: git.oceanbox.io
ROOT_URL: https://git.oceanbox.io
SSH_DOMAIN: git.obx
SSH_PORT: 22
SSH_LISTEN_PORT: 22
@@ -70,14 +70,13 @@ gitea:
UPDATE_AVATAR: true
ACCOUNT_LINKING: auto
# mailer:
# ENABLED: true
# PROTOCOL: "smtp"
# SMTP_ADDR: postfix-mail.postfix.svc.cluster.local
# SMTP_PORT: 587
# FROM: "noreply@oceanbox.io"
# USER: "noreply@oceanbox.io"
# PASSWD: "00c73c4a-1ad5-477d-b773-d5d63986061e"
# HELO_HOSTNAME: "oceanbox.io"
# ENABLED: true
# FROM: "noreply@oceanbox.io"
# PROTOCOL: "smtp+startls"
# SMTP_ADDR: "smtp.office365.com"
# SMTP_PORT: 587
# USER: "noreply@oceanbox.io"
# PASSWD:
database:
DB_TYPE: postgres
MAX_OPEN_CONNS: 90
@@ -139,14 +138,15 @@ ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: ca-issuer
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: HTTP
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.19.255.0/24,100.64.0.0/12
hosts:
- host: git.svc.hel1.obx
- host: git.oceanbox.io
paths:
- backend:
service:
@@ -158,7 +158,7 @@ ingress:
tls:
- secretName: gitea-tls
hosts:
- git.svc.hel1.obx
- git.oceanbox.io
service:
ssh: