Fixed templating of values in k8s components
[ccsdk/cds.git] / ms / blueprintsprocessor / functions / k8s-connection-plugin / src / main / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / functions / k8s / definition / profile / K8sProfileUploadComponent.kt
index 5e853d0..80531b1 100644 (file)
@@ -355,7 +355,7 @@ open class K8sProfileUploadComponent(
         val fileContent = templatedFile.bufferedReader().readText()
         val finalFileContent = BlueprintVelocityTemplateService.generateContent(
             fileContent,
-            params, true
+            params.toString(), true
         )
         if (!destinationFolder.exists())
             Files.createDirectories(destinationFolder.toPath())