-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPSEXP-1798 Fix elasticsearch reindexing job database credentials (#795)
- Loading branch information
Showing
8 changed files
with
35 additions
and
13 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
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
22 changes: 22 additions & 0 deletions
22
...resco-content-services/charts/alfresco-elasticsearch-connector/tests/reindexing_test.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,22 @@ | ||
--- | ||
suite: test reindexing job manifest | ||
templates: | ||
- reindexing-job.yaml | ||
tests: | ||
- it: should have env vars for spring database credentials | ||
values: &testvalues | ||
- ../../../tests/values/test_values.yaml | ||
asserts: | ||
- equal: | ||
path: spec.template.spec.containers[0].env[0].name | ||
value: SPRING_DATASOURCE_PASSWORD | ||
- equal: | ||
path: spec.template.spec.containers[0].env[1].name | ||
value: SPRING_DATASOURCE_USERNAME | ||
- it: should not be present when disabled | ||
values: *testvalues | ||
set: | ||
reindexing.enabled: false | ||
asserts: | ||
- hasDocuments: | ||
count: 0 |
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
File renamed without changes.
File renamed without changes.