Enable gitea metrics
This commit is contained in:
parent
ea306ece64
commit
6855a5c43c
@ -1,5 +1,5 @@
|
||||
helmDefaults:
|
||||
kubeContext: "{{ .StateValues.kubeContext }}"
|
||||
#helmDefaults:
|
||||
# kubeContext: "{{ `{{ .StateValues.kubeContext }}` }}"
|
||||
|
||||
templates:
|
||||
# ---------------------------
|
||||
|
@ -20,3 +20,7 @@ helmfiles:
|
||||
values:
|
||||
- kubeContext: "{{ .Environment.KubeContext }}"
|
||||
- {{ toYaml .Environment.Values | nindent 8 }}
|
||||
- path: ./helmfiles/applications.yaml
|
||||
values:
|
||||
- kubeContext: "{{ .Environment.KubeContext }}"
|
||||
- {{ toYaml .Environment.Values | nindent 8 }}
|
||||
|
15
helmfiles/applications.yaml
Normal file
15
helmfiles/applications.yaml
Normal 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
|
@ -41,8 +41,7 @@ gitea:
|
||||
metrics:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
# -- TODO(@allanger): Enable it once prometheus is configured
|
||||
enabled: false
|
||||
enabled: true
|
||||
config:
|
||||
database:
|
||||
DB_TYPE: postgres
|
||||
@ -66,6 +65,7 @@ gitea:
|
||||
LFS_START_SERVER: true
|
||||
LANDING_PAGE: explore
|
||||
START_SSH_SERVER: true
|
||||
ENABLE_PPROF: true
|
||||
storage:
|
||||
STORAGE_TYPE: minio
|
||||
MINIO_ENDPOINT: "s3.badhouseplants.net:443"
|
||||
|
@ -57,8 +57,7 @@ gitea:
|
||||
metrics:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
# -- TODO(@allanger): Enable it once prometheus is configured
|
||||
enabled: false
|
||||
enabled: true
|
||||
config:
|
||||
database:
|
||||
DB_TYPE: postgres
|
||||
@ -82,6 +81,7 @@ gitea:
|
||||
LFS_START_SERVER: true
|
||||
LANDING_PAGE: explore
|
||||
START_SSH_SERVER: true
|
||||
ENABLE_PPROF: true
|
||||
storage:
|
||||
STORAGE_TYPE: minio
|
||||
MINIO_ENDPOINT: "s3.badhouseplants.net:443"
|
||||
|
Loading…
x
Reference in New Issue
Block a user