-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07fa6d0
commit d3a5d8f
Showing
2 changed files
with
25 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
suite: tests for if role is archive | ||
templates: | ||
- node-statefulset.yaml | ||
- engine-statefulset.yaml | ||
values: | ||
- values/happy.values.yaml | ||
- values/archive.values.yaml | ||
tests: | ||
- it: should template the node statefulset | ||
template: node-statefulset.yaml | ||
asserts: | ||
- isKind: | ||
of: StatefulSet | ||
- equal: | ||
path: spec.template.spec.containers[0].image | ||
value: chainfliplabs/chainflip-node:perseverance | ||
- notExists: | ||
path: spec.template.spec.containers[0].volumeMounts[1] | ||
- it: should not create the engine template | ||
asserts: | ||
- hasDocuments: | ||
count: 0 | ||
template: engine-statefulset.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,2 @@ | ||
common: | ||
role: "archive" |