Skip to content

Commit

Permalink
chore(search): distinguish where each reindex cronjob connects
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Nov 28, 2023
1 parent c8f84a8 commit b3bd1fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
requests:
memory: 7Gi
env:
- name: SEARCH_HOST
value: "{{ .Values.cronjobs.reindexElasticSearch.SEARCH_HOST_ES6 }}"
- name: REDIS_HOST
value: "redis-{{ .Values.deployEnv }}"
- name: NODEJS_HOST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
requests:
memory: 7Gi
env:
- name: SEARCH_HOST
value: "{{ .Values.cronjobs.reindexElasticSearch.SEARCH_HOST_ES8 }}"
- name: REDIS_HOST
value: "redis-{{ .Values.deployEnv }}"
- name: NODEJS_HOST
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/sefaria-project/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ cronJobs:
enabled: false
reindexElasticSearch:
enabled: false
SEARCH_HOST_ES6: "elasticsearch-data"
SEARCH_HOST_ES8: "elasticsearch-es-http.elasticsearch.svc"
topicsIndexing:
enabled: false
trello:
Expand Down

0 comments on commit b3bd1fc

Please sign in to comment.