feat: Gitea | enable prometheus operator scraping

This commit is contained in:
2024-08-28 17:15:17 +05:00
parent ee0a2baa0f
commit 98ff7bf114

View File

@@ -22,9 +22,18 @@ ingress:
hosts: hosts:
- gitea.home - gitea.home
gitea: gitea:
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "6060"
admin: admin:
existingSecret: gitea-admin existingSecret: gitea-admin
metrics:
enabled: true
serviceMonitor:
enabled: true
config: config:
server:
ENABLE_PPROF: 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