Fixed templating of values in k8s components
Issue-ID: CCSDK-3265
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: If6a10c9ae0157a873433f7c3e7c12d90eb5c2cf6
(cherry picked from commit
5d9ac2bf09f44885df819d5182ba48c37be66ac6)
val fileContent = templatedFile.bufferedReader().readText()
val finalFileContent = BlueprintVelocityTemplateService.generateContent(
fileContent,
- params, true
+ params.toString(), true
)
if (!destinationFolder.exists())
Files.createDirectories(destinationFolder.toPath())
val fileContent = templateFile.bufferedReader().readText()
val finalFileContent = BlueprintVelocityTemplateService.generateContent(
fileContent,
- params, true
+ params.toString(), true
)
if (!destinationFolder.exists())
Files.createDirectories(destinationFolder.toPath())
val fileContent = templateFile.bufferedReader().readText()
return BlueprintVelocityTemplateService.generateContent(
fileContent,
- params, true
+ params.toString(), true
)
}