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

@@ -10,6 +10,7 @@ import (
"gopkg.in/yaml.v3"
)
// BuildDeployment builds a deployment.
func BuildDeployment(deployment *helm.Deployment, name, templatesDir string) {
kind := "deployment"
fname := filepath.Join(templatesDir, name+"."+kind+".yaml")