-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPSEXP-2504 Configurable strategy.type for filestore (#344)
- Loading branch information
Showing
5 changed files
with
31 additions
and
4 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
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
23 changes: 23 additions & 0 deletions
23
charts/alfresco-transform-service/tests/deployment-filestore_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,23 @@ | ||
--- | ||
suite: test filestore deployment features | ||
templates: | ||
- deployment-filestore.yaml | ||
- config-filestore.yaml | ||
|
||
tests: | ||
- it: should render default strategy type | ||
asserts: | ||
- equal: | ||
path: spec.strategy.type | ||
value: RollingUpdate | ||
template: deployment-filestore.yaml | ||
- it: should render overridden strategy type | ||
set: | ||
filestore: | ||
strategy: | ||
type: Recreate | ||
asserts: | ||
- equal: | ||
path: spec.strategy.type | ||
value: Recreate | ||
template: deployment-filestore.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