feat: Add Elasticsearch indexer configuration

Introduces the configuration for the issue indexer using Elasticsearch, enabling the ISSUE_INDEXER feature.

Sets the ISSUE_INDEXER_ENABLED flag to true and specifies the connection string sourced from a secret.

Prepares for future enhancements by including placeholders for repository indexing options.
This commit is contained in:
Daniel Sy 2025-06-02 17:39:15 +02:00
parent e1bf3012e2
commit dd46f37e43
Signed by untrusted user: Daniel.Sy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -64,11 +64,23 @@ gitea:
secretKeyRef: secretKeyRef:
name: postgres-forgejo-cloud-credentials name: postgres-forgejo-cloud-credentials
key: password key: password
- name: FORGEJO__indexer__ISSUE_INDEXER_CONN_STR
valueFrom:
secretKeyRef:
name: elasticsearch-cloud-credentials
key: connection-string
admin: admin:
existingSecret: gitea-credential existingSecret: gitea-credential
config: config:
indexer:
ISSUE_INDEXER_ENABLED: true
ISSUE_INDEXER_TYPE: elasticsearch
# TODO next
REPO_INDEXER_ENABLED: false
# REPO_INDEXER_TYPE: meilisearch # not yet working
storage: storage:
MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443 MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443
STORAGE_TYPE: minio STORAGE_TYPE: minio