From dd46f37e435ed7aa2bacb2709c00ca57dfee6982 Mon Sep 17 00:00:00 2001 From: Daniel Sy Date: Mon, 2 Jun 2025 17:39:15 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Add=20Elasticsearch=20index?= =?UTF-8?q?er=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- template/stacks/core/forgejo/values.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/template/stacks/core/forgejo/values.yaml b/template/stacks/core/forgejo/values.yaml index 744d696..e2b65b8 100644 --- a/template/stacks/core/forgejo/values.yaml +++ b/template/stacks/core/forgejo/values.yaml @@ -64,11 +64,23 @@ gitea: secretKeyRef: name: postgres-forgejo-cloud-credentials key: password + - name: FORGEJO__indexer__ISSUE_INDEXER_CONN_STR + valueFrom: + secretKeyRef: + name: elasticsearch-cloud-credentials + key: connection-string admin: existingSecret: gitea-credential config: + indexer: + ISSUE_INDEXER_ENABLED: true + ISSUE_INDEXER_TYPE: elasticsearch + # TODO next + REPO_INDEXER_ENABLED: false + # REPO_INDEXER_TYPE: meilisearch # not yet working + storage: MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443 STORAGE_TYPE: minio