mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Support mounting volumes to containers
This commit is contained in:
@@ -140,6 +140,16 @@ func TestRunFns_Execute__initDefault(t *testing.T) {
|
||||
FunctionPaths: []string{"foo"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "explicit directories in volumes",
|
||||
instance: RunFns{Volumes: []string{"vol"}},
|
||||
expected: RunFns{
|
||||
Output: os.Stdout,
|
||||
Input: os.Stdin,
|
||||
NoFunctionsFromInput: getFalse(),
|
||||
Volumes: []string{"vol"},
|
||||
},
|
||||
},
|
||||
}
|
||||
for i := range tests {
|
||||
tt := tests[i]
|
||||
|
||||
Reference in New Issue
Block a user