From 4092a7543d4768fca843825bc2f0b02e44747675 Mon Sep 17 00:00:00 2001 From: m-meulendijks-v1 <107135537+m-meulendijks-v1@users.noreply.github.com> Date: Tue, 14 Feb 2023 13:30:12 +0000 Subject: [PATCH] CIV-6916 adding elastic search to preview (#2142) * adding elastic search to preview Adds elasticsearch to preview, for PRs with pr-values:elasticsearch label. --------- Co-authored-by: adusumillipraveen Co-authored-by: Praveen Adusumilli <47391951+adusumillipraveen@users.noreply.github.com> --- ...values.elasticsearch.preview.template.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 charts/civil-ccd/values.elasticsearch.preview.template.yaml diff --git a/charts/civil-ccd/values.elasticsearch.preview.template.yaml b/charts/civil-ccd/values.elasticsearch.preview.template.yaml new file mode 100644 index 0000000000..88cbbd786e --- /dev/null +++ b/charts/civil-ccd/values.elasticsearch.preview.template.yaml @@ -0,0 +1,46 @@ +ccd: + ccd: + elastic: + enabled: true + ccd-data-store-api: + java: + environment: + ELASTIC_SEARCH_ENABLED: true + ELASTIC_SEARCH_HOSTS: ${SERVICE_NAME}-es-master:9200 + ELASTIC_SEARCH_DATA_NODES_HOSTS: http://${SERVICE_NAME}-es-master:9200 + ccd-definition-store-api: + java: + environment: + DEFINITION_STORE_DB_HOST: ${SERVICE_NAME}-postgresql + DEFINITION_STORE_IDAM_KEY: ${CCD_DEFINITION_STORE_S2S_SECRET} + IDAM_USER_URL: https://idam-web-public.aat.platform.hmcts.net + ELASTIC_SEARCH_ENABLED: true + ELASTIC_SEARCH_HOST: ${SERVICE_NAME}-es-master + ELASTIC_SEARCH_CASE_INDEX_MAPPING_FIELDS_LIMIT: 10000 + elasticsearch: + nameOverride: ${SERVICE_NAME}-es + imageTag: "7.17.1" + initResources: + limits: + cpu: "500m" + memory: "512Mi" + requests: + cpu: "25m" + memory: "512Mi" + logstash: + image: + pullPolicy: Always + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "2500m" + memory: "1024Mi" + configTpl: + db.url: jdbc:postgresql://${SERVICE_NAME}-postgresql:5432/data-store?ssl=disable&stringtype=unspecified + db.user: ${POSTGRES_USER} + db.pwd: ${POSTGRES_PASSWORD} + es.data.nodes.url: http://${SERVICE_NAME}-es-master:9200 + livenessProbe: + initialDelaySeconds: 90