You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/10/13 21:24:31 UTC
[camel-karavan] branch main updated: Fix Tekton pipeline Parameter name
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 105109b Fix Tekton pipeline Parameter name
105109b is described below
commit 105109b3736006e1d56a927cffce64ceec7d0c0f
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Thu Oct 13 17:24:24 2022 -0400
Fix Tekton pipeline Parameter name
---
.../main/java/org/apache/camel/karavan/service/KubernetesService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
index 7962f66..de1b3e4 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
@@ -139,7 +139,7 @@ public class KubernetesService {
PipelineRunSpec spec = new PipelineRunSpecBuilder()
.withPipelineRef(ref)
.withServiceAccountName("pipeline")
- .withParams(new ParamBuilder().withName("PROJECT_NAME").withNewValue(project.getProjectId()).build())
+ .withParams(new ParamBuilder().withName("PROJECT_ID").withNewValue(project.getProjectId()).build())
.withWorkspaces(
new WorkspaceBindingBuilder().withName("m2-cache").withNewPersistentVolumeClaim("karavan-m2-cache", false).build(),
new WorkspaceBindingBuilder().withName("jbang-cache").withNewPersistentVolumeClaim("karavan-jbang-cache", false).build())