diff --git a/generator/main.go b/generator/main.go index 63f27e2..b75b846 100644 --- a/generator/main.go +++ b/generator/main.go @@ -432,6 +432,11 @@ func prepareVolumes(deployment, name string, s *compose.Service, container *helm "name": volname, "emptyDir": map[string]string{}, }) + mountPoints = append(mountPoints, map[string]interface{}{ + "name": volname, + "mountPath": volepath, + }) + container.VolumeMounts = mountPoints isEmptyDir = true break }