mirror of
https://github.com/truenas/charts.git
synced 2026-06-17 07:27:44 +08:00
add another test case
This commit is contained in:
@@ -21,6 +21,16 @@ tests:
|
||||
- failedTemplate:
|
||||
errorMessage: <mountPath> must be defined, alternatively use the <noMount> flag.
|
||||
|
||||
- it: should fail with empty mountPath set
|
||||
set:
|
||||
persistence:
|
||||
vol1:
|
||||
enabled: true
|
||||
mountPath:
|
||||
asserts:
|
||||
- failedTemplate:
|
||||
errorMessage: <mountPath> must be defined, alternatively use the <noMount> flag.
|
||||
|
||||
- it: should pass with enabled false
|
||||
documentIndex: *deploymentDoc
|
||||
set:
|
||||
|
||||
Reference in New Issue
Block a user