Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] incorrect namespace being passed on from cli to ansible-devop from teckton #1034

Merged
merged 3 commits into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading