-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(orion): add stable name testing
and add __snapshot__ to permissions corrections Signed-off-by: Kevin O'Donnell <kevin@blockchaintp.com>
- Loading branch information
1 parent
bc6e542
commit 6e3c9a1
Showing
4 changed files
with
30 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
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 @@ | ||
tests/ |
13 changes: 13 additions & 0 deletions
13
charts/orion/tests/__snapshot__/stable-names_test.yaml.snap
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,13 @@ | ||
check for stable entity names (services, statefulsets, serviceaccounts): | ||
1: | | ||
test-orion | ||
2: | | ||
orion-config | ||
3: | | ||
test-orion | ||
4: | | ||
test-orion | ||
5: | | ||
test-orion-0 | ||
6: | | ||
test-orion-1 |
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,15 @@ | ||
suite: test for stable names | ||
templates: | ||
- statefulset.yaml | ||
- config-cm.yaml | ||
- service.yaml | ||
- serviceaccount.yaml | ||
- pernode-service.yaml | ||
release: | ||
name: test | ||
namespace: testns | ||
tests: | ||
- it: check for stable entity names (services, statefulsets, serviceaccounts) | ||
asserts: | ||
- matchSnapshot: | ||
path: metadata.name |