Fix the missed volume mount for empty dirs

Fix #1
This commit is contained in:
2022-02-17 10:43:07 +01:00
parent 3619cc4b20
commit 5d574015ce

View File

@@ -432,6 +432,11 @@ func prepareVolumes(deployment, name string, s *compose.Service, container *helm
"name": volname, "name": volname,
"emptyDir": map[string]string{}, "emptyDir": map[string]string{},
}) })
mountPoints = append(mountPoints, map[string]interface{}{
"name": volname,
"mountPath": volepath,
})
container.VolumeMounts = mountPoints
isEmptyDir = true isEmptyDir = true
break break
} }