Skip to content

Commit

Permalink
[patch] Fix custom db2_namespace not being used in suite-db2-setup-ma…
Browse files Browse the repository at this point in the history
…nage (#1366)

Co-authored-by: Harsh Tamakuwala <Harsh.Tamakuwala@ibm.com>
  • Loading branch information
harsh42774 and Harsh Tamakuwala authored Nov 22, 2024
1 parent 73aa5c1 commit 28a1d91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tekton/src/pipelines/taskdefs/apps/db2-setup-manage.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
3 changes: 3 additions & 0 deletions tekton/src/pipelines/taskdefs/apps/db2-setup-system.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 28a1d91

Please sign in to comment.