fix: Gitea | use git.dogar.dev as primary domain name

This commit is contained in:
2024-09-09 07:17:46 +05:00
parent fd1133237f
commit 0c956bda49
2 changed files with 7 additions and 7 deletions

View File

@@ -66,5 +66,5 @@ data:
- hostname: postgres.dogar.dev - hostname: postgres.dogar.dev
service: tcp://postgres-cluster-rw.postgres-system.svc.cluster.local:5432 service: tcp://postgres-cluster-rw.postgres-system.svc.cluster.local:5432
- hostname: git.dogar.dev - hostname: git.dogar.dev
service: http://gitea-http.gitea-system.svc.cluster.local:3000 service: http://git.dogar.dev
- service: http_status:404 - service: http_status:404

View File

@@ -1,11 +1,11 @@
service: service:
http: http:
annotations: annotations:
external-dns.alpha.kubernetes.io/hostname: gitea.home external-dns.alpha.kubernetes.io/hostname: git.dogar.dev
metallb.universe.tf/allow-shared-ip: gitea metallb.universe.tf/allow-shared-ip: gitea
ssh: ssh:
annotations: annotations:
external-dns.alpha.kubernetes.io/hostname: gitea.home external-dns.alpha.kubernetes.io/hostname: git.dogar.dev
metallb.universe.tf/allow-shared-ip: gitea metallb.universe.tf/allow-shared-ip: gitea
ingress: ingress:
enabled: true enabled: true
@@ -13,14 +13,14 @@ ingress:
annotations: annotations:
cert-manager.io/cluster-issuer: cluster-issuer cert-manager.io/cluster-issuer: cluster-issuer
hosts: hosts:
- host: gitea.home - host: git.dogar.dev
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- secretName: gitea-tls - secretName: gitea-tls
hosts: hosts:
- gitea.home - git.dogar.dev
gitea: gitea:
podAnnotations: podAnnotations:
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
@@ -34,6 +34,8 @@ gitea:
config: config:
server: server:
ENABLE_PPROF: true ENABLE_PPROF: true
ENABLE_GZIP: true
LFS_START_SERVER: true
database: database:
DB_TYPE: postgres DB_TYPE: postgres
HOST: postgres-cluster-rw.postgres-system.svc.cluster.local:5432 HOST: postgres-cluster-rw.postgres-system.svc.cluster.local:5432
@@ -55,8 +57,6 @@ gitea:
secretKeyRef: secretKeyRef:
name: gitea-postgres name: gitea-postgres
key: password key: password
- name: GITEA__SERVER__LFS_START_SERVER
value: "true"
persistence: persistence:
enabled: true enabled: true
accessModes: accessModes: