File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed
charts/docker-mailserver/tests Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,16 @@ tests:
2121 path : spec.template.spec.containers[0].image
2222 value : bananas:in-pajamas
2323
24+ - it : should use subPath for volumes if defined
25+ set :
26+ persistence :
27+ mail-data :
28+ subPath : another-folder
29+ asserts :
30+ - equal :
31+ path : spec.template.spec.containers[0].volumeMounts[?(@.name=="mail-data")].subPath
32+ value : another-folder
33+
2434 - it : manifest should match snapshot
2535 asserts :
2636 - matchSnapshot : { }
Original file line number Diff line number Diff line change @@ -29,15 +29,4 @@ tests:
2929
3030 - it : manifest should match snapshot
3131 asserts :
32- - matchSnapshot : { }
33-
34- - it : should use subPath for volumes if defined
35- set :
36- persistence :
37- mail-data :
38- subPath : another-folder
39- documentIndex : 1
40- asserts :
41- - equal :
42- path : spec.template.spec.containers[0].volumeMounts[?(@.name=="mail-data")].subPath
43- value : another-folder
32+ - matchSnapshot : { }
You can’t perform that action at this time.
0 commit comments