Skip to content

Commit

Permalink
[patch] incorrect namespace being passed on from cli to ansible-devop…
Browse files Browse the repository at this point in the history
… from teckton (#1034)
  • Loading branch information
lokesh-sreedhara authored Jun 15, 2024
1 parent 3e523f5 commit 3c79035
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion image/cli/mascli/functions/install
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,6 @@ function install() {
# Select DRO Namespace
if [[ "$INTERACTIVE_MODE" == "true" ]] && [[ "$UDS_ACTION" == "install-dro" ]]; then
prompt_for_input "Provide DRO Namespace [Default:'redhat-marketplace']" DRO_NAMESPACE "redhat-marketplace"
echo_highlight "DRO is configured to install in ${DRO_NAMESPACE} namespace"
fi

# Prepare and launch the Tekton pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ function install_pipelinerun_preview() {
echo_reset_dim "Contact Email ............. ${COLOR_MAGENTA}${UDS_CONTACT_EMAIL}"
echo_reset_dim "First Name ................ ${COLOR_MAGENTA}${UDS_CONTACT_FIRSTNAME}"
echo_reset_dim "Last Name ................. ${COLOR_MAGENTA}${UDS_CONTACT_LASTNAME}"
echo_reset_dim "Namespace ................. ${COLOR_MAGENTA}${DRO_NAMESPACE}"

if [[ "$DEPLOY_CP4D" == "run" ]]; then
reset_colors
Expand Down
2 changes: 1 addition & 1 deletion tekton/src/pipelines/taskdefs/dependencies/uds.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# Only used by DRO
- name: ibm_entitlement_key
value: $(params.ibm_entitlement_key)
- name: DRO_NAMESPACE
- name: dro_namespace
value: $(params.dro_namespace)
when:
- input: "$(params.uds_action)"
Expand Down

0 comments on commit 3c79035

Please sign in to comment.