We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd72b4 commit bfcd6f1Copy full SHA for bfcd6f1
1 file changed
charts/docker-mailserver/tests/pvc_test.yaml
@@ -29,4 +29,15 @@ tests:
29
30
- it: manifest should match snapshot
31
asserts:
32
- - matchSnapshot: { }
+ - 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
0 commit comments