Skip to content

Commit

Permalink
CIV-6916 adding elastic search to preview (#2142)
Browse files Browse the repository at this point in the history
* adding elastic search to preview

Adds elasticsearch to preview, for PRs with pr-values:elasticsearch label.

---------

Co-authored-by: adusumillipraveen <[email protected]>
Co-authored-by: Praveen Adusumilli <[email protected]>
  • Loading branch information
3 people authored Feb 14, 2023
1 parent 5f9dcd5 commit 4092a75
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions charts/civil-ccd/values.elasticsearch.preview.template.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4092a75

Please sign in to comment.