Fix the volume name with minus sign

This commit is contained in:
2022-02-02 10:09:42 +01:00
parent b9e91d56aa
commit 4320519a2a

View File

@@ -197,6 +197,9 @@ func parseService(name string, s *compose.Service, ret chan interface{}) {
ret <- cm
} else {
// rmove minus sign from volume name
volname = strings.ReplaceAll(volname, "-", "")
pvc := helm.NewPVC(name, volname)
volumes = append(volumes, map[string]interface{}{
"name": volname,