From 28a1d919b4a7293f58fa0092e624ee86af764c7f Mon Sep 17 00:00:00 2001 From: Harsh Tamakuwala <31183552+harsh42774@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:34:14 +0530 Subject: [PATCH] [patch] Fix custom db2_namespace not being used in suite-db2-setup-manage (#1366) Co-authored-by: Harsh Tamakuwala --- tekton/src/pipelines/taskdefs/apps/db2-setup-manage.yml.j2 | 3 +++ tekton/src/pipelines/taskdefs/apps/db2-setup-system.yml.j2 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tekton/src/pipelines/taskdefs/apps/db2-setup-manage.yml.j2 b/tekton/src/pipelines/taskdefs/apps/db2-setup-manage.yml.j2 index a249e85b21..0ae9c8d440 100644 --- a/tekton/src/pipelines/taskdefs/apps/db2-setup-manage.yml.j2 +++ b/tekton/src/pipelines/taskdefs/apps/db2-setup-manage.yml.j2 @@ -7,6 +7,9 @@ - name: db2_instance_name value: "mas-$(params.mas_instance_id)-$(params.mas_workspace_id)-manage" + + - name: db2_namespace + value: "$(params.db2_namespace)" # Only perform the hack if Manage is being installed, if we're using in-cluster system db and we're not using a dedicated Db2 instance for Manage (in-cluster or BYO) when: - input: "$(params.mas_app_channel_manage)" diff --git a/tekton/src/pipelines/taskdefs/apps/db2-setup-system.yml.j2 b/tekton/src/pipelines/taskdefs/apps/db2-setup-system.yml.j2 index da5afcc420..f9d4cc411f 100644 --- a/tekton/src/pipelines/taskdefs/apps/db2-setup-system.yml.j2 +++ b/tekton/src/pipelines/taskdefs/apps/db2-setup-system.yml.j2 @@ -7,6 +7,9 @@ - name: db2_instance_name value: "mas-$(params.mas_instance_id)-system" + + - name: db2_namespace + value: "$(params.db2_namespace)" # Only perform the hack if Manage is being installed, if we're using in-cluster system db and we're not using a dedicated Db2 instance for Manage (in-cluster or BYO) when: - input: "$(params.mas_app_channel_manage)"