feat(forgejo): add indexer setup
All checks were successful
Renovate / renovate (push) Successful in 29s

This commit is contained in:
Peter 2024-04-25 18:15:09 +02:00
parent b019edcf85
commit d073b9bfa2
Signed by: prskr
GPG key ID: F56BED6903BC5E37
5 changed files with 35 additions and 0 deletions

View file

@ -69,6 +69,13 @@ gitea:
MINIO_LOCATION: us-east-1
MINIO_USE_SSL: 'true'
MINIO_CHECKSUM_ALGORITHM: md5
indexer:
ISSUE_INDEXER_TYPE: meilisearch
ISSUE_INDEXER_NAME: gitea_issues
REPO_INDEXER_ENABLED: 'true'
REPO_INDEXER_REPO_TYPES: sources,forks,mirrors,templates
REPO_INDEXER_TYPE: bleve
REPO_INDEXER_PATH: indexers/repos.bleve
attachment:
ALLOWED_TYPES: .bz2,.gz,.md,.pdf,.tgz,.txt,.zip,.tar.gz,.txt,application/gzip,application/x-gzip,application/x-gtar,application/x-tgz,application/x-compressed-tar,text/plain,application/octet-stream
MAX_SIZE: 30

View file

@ -0,0 +1,20 @@
environment:
MEILI_ENV: production
auth:
existingMasterKeySecret: meili-credentials
persistence:
enabled: true
storageClass: hcloud-volumes
resources:
limits:
cpu: 100m
memory: 768Mi
requests:
cpu: 100m
memory: 256Mi
serviceMonitor:
enabled: true

View file

@ -17,6 +17,7 @@ images:
resources:
- resources/secrets/admin-credentials.yaml
- resources/secrets/infra-credentials.yaml
- resources/secrets/meili-credentials.yaml
- resources/routes.yaml
- resources/dragonfly.yml
- resources/runners/secrets/runners.yaml
@ -44,3 +45,10 @@ helmCharts:
skipTests: true
apiVersions:
- "networking.k8s.io/v1/Ingress"
- name: meilisearch
repo: https://meilisearch.github.io/meilisearch-kubernetes
releaseName: forgejo-indexer
namespace: forgejo
version: "0.6.1"
valuesFile: config/values.meilisearch.yaml
skipTests: true

Binary file not shown.