Use pointer for Value, change RELEASE_NAME const

This commit is contained in:
2022-05-05 11:33:02 +02:00
parent ddcc3d00d3
commit bfe6738348
10 changed files with 23 additions and 24 deletions

View File

@@ -35,7 +35,7 @@ func NewBase() *K8sBase {
}
// add some information of the build
b.Metadata.Labels[K+"/project"] = GetProjectName()
b.Metadata.Labels[K+"/release"] = RELEASE_NAME
b.Metadata.Labels[K+"/release"] = ReleaseNameTpl
b.Metadata.Annotations[K+"/version"] = Version
return b
}