From 35731d1f2ede6bc78406ebd7fee1d52e9b3bf0a3 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Fri, 10 Jan 2025 12:05:08 +0000 Subject: [PATCH] d add back in ES_HOST and ES_INDEX temporarily --- charts/datagovuk/templates/_find.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/datagovuk/templates/_find.tpl b/charts/datagovuk/templates/_find.tpl index d04fc9d..9e0d226 100644 --- a/charts/datagovuk/templates/_find.tpl +++ b/charts/datagovuk/templates/_find.tpl @@ -2,6 +2,10 @@ {{- $environment := eq .Values.environment "test" | ternary "development" .Values.environment -}} - name: CKAN_DOMAIN value: {{ .Values.find.config.ckanDomain }} +- name: ES_HOST + value: http://{{ $.Release.Name }}-opensearch-sts +- name: ES_INDEX + value: datasets-{{ $environment }} - name: GOVUK_APP_DOMAIN value: "www.gov.uk" - name: GOVUK_ENVIRONMENT_NAME