Fixup configMap names + add logs

This commit is contained in:
2021-12-01 12:02:44 +01:00
parent b371d826b0
commit de0dde3ae8
2 changed files with 6 additions and 3 deletions

View File

@@ -3,7 +3,6 @@ package helm
import (
"errors"
"io/ioutil"
"log"
"strings"
)
@@ -35,7 +34,6 @@ func (c *ConfigMap) AddEnvFile(file string) error {
continue
}
parts := strings.SplitN(l, "=", 2)
log.Printf("%d %v\n", len(parts), parts)
if len(parts) < 2 {
return errors.New("The environment file " + file + " is not valid")
}