feat(forgejo): add indexer setup
All checks were successful
Renovate / renovate (push) Successful in 29s
All checks were successful
Renovate / renovate (push) Successful in 29s
This commit is contained in:
parent
b019edcf85
commit
d073b9bfa2
5 changed files with 35 additions and 0 deletions
|
@ -69,6 +69,13 @@ gitea:
|
||||||
MINIO_LOCATION: us-east-1
|
MINIO_LOCATION: us-east-1
|
||||||
MINIO_USE_SSL: 'true'
|
MINIO_USE_SSL: 'true'
|
||||||
MINIO_CHECKSUM_ALGORITHM: md5
|
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:
|
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
|
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
|
MAX_SIZE: 30
|
||||||
|
|
20
forgejo/config/values.meilisearch.yaml
Normal file
20
forgejo/config/values.meilisearch.yaml
Normal 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
|
|
@ -17,6 +17,7 @@ images:
|
||||||
resources:
|
resources:
|
||||||
- resources/secrets/admin-credentials.yaml
|
- resources/secrets/admin-credentials.yaml
|
||||||
- resources/secrets/infra-credentials.yaml
|
- resources/secrets/infra-credentials.yaml
|
||||||
|
- resources/secrets/meili-credentials.yaml
|
||||||
- resources/routes.yaml
|
- resources/routes.yaml
|
||||||
- resources/dragonfly.yml
|
- resources/dragonfly.yml
|
||||||
- resources/runners/secrets/runners.yaml
|
- resources/runners/secrets/runners.yaml
|
||||||
|
@ -44,3 +45,10 @@ helmCharts:
|
||||||
skipTests: true
|
skipTests: true
|
||||||
apiVersions:
|
apiVersions:
|
||||||
- "networking.k8s.io/v1/Ingress"
|
- "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.
BIN
forgejo/resources/secrets/meili-credentials.yaml
Normal file
BIN
forgejo/resources/secrets/meili-credentials.yaml
Normal file
Binary file not shown.
Loading…
Reference in a new issue