Fix problems of new line + add comments

This commit is contained in:
2022-05-05 09:08:12 +02:00
parent 13f74c9e4d
commit 6eb8ec9915
5 changed files with 7 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import (
"gopkg.in/yaml.v3"
)
// BuildConfigMap writes the configMap.
func BuildConfigMap(c interface{}, kind, servicename, name, templatesDir string) {
fname := filepath.Join(templatesDir, servicename+"."+name+"."+kind+".yaml")
fp, _ := os.Create(fname)