Enable gitea metrics

This commit is contained in:
Nikolai Rodionov 2025-04-07 14:35:11 +02:00
parent ea306ece64
commit 6855a5c43c
No known key found for this signature in database
GPG Key ID: 0639A45505F3BFA6
5 changed files with 25 additions and 6 deletions

View File

@ -1,5 +1,5 @@
helmDefaults: #helmDefaults:
kubeContext: "{{ .StateValues.kubeContext }}" # kubeContext: "{{ `{{ .StateValues.kubeContext }}` }}"
templates: templates:
# --------------------------- # ---------------------------

View File

@ -20,3 +20,7 @@ helmfiles:
values: values:
- kubeContext: "{{ .Environment.KubeContext }}" - kubeContext: "{{ .Environment.KubeContext }}"
- {{ toYaml .Environment.Values | nindent 8 }} - {{ toYaml .Environment.Values | nindent 8 }}
- path: ./helmfiles/applications.yaml
values:
- kubeContext: "{{ .Environment.KubeContext }}"
- {{ toYaml .Environment.Values | nindent 8 }}

View File

@ -0,0 +1,15 @@
bases:
- ../common/templates.yaml
repositories:
- name: gitea
url: https://dl.gitea.io/charts/
releases:
- name: app-gitea
chart: gitea/gitea
version: 11.0.0
namespace: org-badhouseplants
inherit:
- template: env-values
- template: env-secrets

View File

@ -41,8 +41,7 @@ gitea:
metrics: metrics:
enabled: true enabled: true
serviceMonitor: serviceMonitor:
# -- TODO(@allanger): Enable it once prometheus is configured enabled: true
enabled: false
config: config:
database: database:
DB_TYPE: postgres DB_TYPE: postgres
@ -66,6 +65,7 @@ gitea:
LFS_START_SERVER: true LFS_START_SERVER: true
LANDING_PAGE: explore LANDING_PAGE: explore
START_SSH_SERVER: true START_SSH_SERVER: true
ENABLE_PPROF: true
storage: storage:
STORAGE_TYPE: minio STORAGE_TYPE: minio
MINIO_ENDPOINT: "s3.badhouseplants.net:443" MINIO_ENDPOINT: "s3.badhouseplants.net:443"

View File

@ -57,8 +57,7 @@ gitea:
metrics: metrics:
enabled: true enabled: true
serviceMonitor: serviceMonitor:
# -- TODO(@allanger): Enable it once prometheus is configured enabled: true
enabled: false
config: config:
database: database:
DB_TYPE: postgres DB_TYPE: postgres
@ -82,6 +81,7 @@ gitea:
LFS_START_SERVER: true LFS_START_SERVER: true
LANDING_PAGE: explore LANDING_PAGE: explore
START_SSH_SERVER: true START_SSH_SERVER: true
ENABLE_PPROF: true
storage: storage:
STORAGE_TYPE: minio STORAGE_TYPE: minio
MINIO_ENDPOINT: "s3.badhouseplants.net:443" MINIO_ENDPOINT: "s3.badhouseplants.net:443"