-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Co-authored-by: Praveen Adusumilli <[email protected]>
- Loading branch information
1 parent
5f9dcd5
commit 4092a75
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
charts/civil-ccd/values.elasticsearch.preview.template.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |