-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update helm chart to utilize opensearch
- Loading branch information
1 parent
758c667
commit c28b40c
Showing
6 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
!dump-data.sh | ||
!Dockerfile | ||
!frontend.sh | ||
!index.sh | ||
!initial-data.sh | ||
!jest.config.js | ||
!package.json | ||
|
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
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
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
Binary file not shown.
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 |
---|---|---|
|
@@ -13,7 +13,8 @@ initContainers: | |
command: | ||
- 'sh' | ||
- '-c' | ||
- 'until nc -z cfgov-postgresql 5432; do echo waiting for database; sleep 2; done;' | ||
- 'until nc -z cfgov-postgresql 5432; do echo waiting for database; sleep 10; done;' | ||
- 'until nc -z opensearch-cluster-master 9200; do echo waiting for opensearch; sleep 10; done;' | ||
- name: cfgov-migrations | ||
image: | ||
repository: cfgov | ||
|
@@ -24,10 +25,14 @@ initContainers: | |
value: "postgres://cfpb:cfpb@cfgov-postgresql:5432/cfgov" | ||
- name: SECRET_KEY | ||
value: "cfgov" | ||
- name: ES_HOST | ||
value: "opensearch-cluster-master" | ||
- name: ES_PORT | ||
value: "9200" | ||
command: | ||
- 'sh' | ||
- '-c' | ||
- './refresh-data.sh --noindex test.sql.gz' | ||
- './refresh-data.sh test.sql.gz' | ||
|
||
|
||
containers: | ||
|
@@ -50,6 +55,10 @@ containers: | |
value: "postgres://cfpb:cfpb@cfgov-postgresql:5432/cfgov" | ||
- name: SECRET_KEY | ||
value: "cfgov" | ||
- name: ES_HOST | ||
value: "opensearch-cluster-master" | ||
- name: ES_PORT | ||
value: "9200" | ||
- name: cfgov-apache | ||
image: | ||
repository: httpd | ||
|
@@ -216,3 +225,6 @@ pgadmin4: | |
env: | ||
email: [email protected] | ||
password: test | ||
|
||
opensearch: | ||
replicas: 1 |