Enable the Send Email node for Orchestration Pipelines
You can enable the Send Email node functionality in Orchestration Pipelines.
- Who needs to complete this task?
- Instance administrator: An Instance administrator must complete this task.
- Before you begin
-
You can run the commands in this task exactly as written if you set up the environment variables for IBM® Software Hub Control Center. For instructions, see Setting up environment variables for IBM Software Hub Control Center.
In addition, ensure that you source the environment variables before you run the commands in this task.
- About this task
- Edit the
watson-pipelines-config configmapKubernetes resource in order to enable functionality of the Send Email node in the pipeline.
Procedure
Follow the steps to enable the Send Email node:
- Log in to Red Hat®
OpenShift® Container Platform as a user with
sufficient permissions to complete the
task:
${OC_LOGIN} - Patch the
watson-pipelines-config configmapKubernetes resource on the cluster with thehidden_componentsenvironment variable set to theempty listvalue:
The output of the following command:oc patch configmap watson-pipelines-config -n ${PROJECT_CPD_INST_OPERANDS} --type=merge -p '{"data": {"hidden_components":"[]"}}'configmap/watson-pipelines-config patched - Confirm if the
hidden_componentsvalue was applied to thewatson-pipelines-configconfig map by running:
If everything is correct, the output of the command is:oc get cm -n ${PROJECT_CPD_INST_OPERANDS} watson-pipelines-config -o yaml | yq -r .data | grep hidden_componentshidden_components: '[]' - Check the Orchestration Pipelines pipelines asset UI that the Send palette node is visible.
Revert procedure
If you want to revert the changes of enabling the Send Email node, run the
following steps:
- Log in to Red Hat
OpenShift Container Platform as a user with
sufficient permissions to complete the
task:
${OC_LOGIN} - Patch the
watson-pipelines-config configmapKubernetes resource on the cluster with thehidden_componentsenvironment variable set to thenullvalue:oc patch configmap watson-pipelines-config -n ${PROJECT_CPD_INST_OPERANDS} --type=merge -p '{"data": {"hidden_components":null}}' - Confirm if the
hidden_componentsvalue is not visible in thewatson-pipelines-configconfig map by running:
There should be no output from the terminal.oc get cm -n ${PROJECT_CPD_INST_OPERANDS} watson-pipelines-config -o yaml | yq -r .data | grep hidden_components - Check the Orchestration Pipelines pipelines asset UI that the Send palette node is not visible.