Use compose-go + improve experience #9

Merged
metal3d merged 47 commits from develop into master 2022-05-08 07:55:25 +00:00
Showing only changes of commit c9bdd1b718 - Show all commits

View File

@@ -312,6 +312,13 @@ func prepareVolumes(deployment, name string, s types.ServiceConfig, container *h
volname := vol.Source
volepath := vol.Target
if volname == "" {
logger.ActivateColors = true
logger.Yellowf("Warning, volume source to %s is empty for %s -- skipping\n", volepath, name)
logger.ActivateColors = false
continue
}
isCM := false
for _, cmVol := range configMapsVolumes {
cmVol = strings.TrimSpace(cmVol)