Skip to content

Commit 82a46d8

Browse files
authored
fix(ci): disable orchestrator in upgrade base helm install (#5090)
The 1.9 CI values file (values_showcase.yaml from release-1.9) sets orchestrator.enabled=true, causing the chart's sonataflows.yaml template to run a Helm lookup for the SonataFlowPlatform CRD. Since the SonataFlow operator is not installed on the test cluster, the CRD does not exist and the lookup fails hard, blocking the entire 1.9->1.10 upgrade test pipeline. Fix by adding --set orchestrator.enabled=false to the base helm install command in initiate_upgrade_base_deployments(). The upgrade test does not need the orchestrator functionality - it tests RHDH core upgrade behavior. Closes: RHDHBUGS-3441 Assisted-by: OpenCode
1 parent 45a665c commit 82a46d8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.ci/pipelines/utils.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,13 +617,17 @@ initiate_upgrade_base_deployments() {
617617
previous_release_value_file=$(helm::get_previous_release_values "showcase")
618618
echo "Using dynamic value file: ${previous_release_value_file}"
619619

620+
# Disable orchestrator to prevent the chart's sonataflows.yaml template from
621+
# running a `lookup` for the SonataFlowPlatform CRD, which fails when the
622+
# SonataFlow operator is not installed on the cluster.
620623
helm upgrade -i "${release_name}" -n "${namespace}" \
621624
"${HELM_CHART_URL}" --version "${CHART_VERSION_BASE}" \
622625
-f "${previous_release_value_file}" \
623626
--set global.clusterRouterBase="${K8S_CLUSTER_ROUTER_BASE}" \
624627
--set upstream.backstage.image.registry="${IMAGE_REGISTRY}" \
625628
--set upstream.backstage.image.repository="${IMAGE_REPO_BASE}" \
626-
--set upstream.backstage.image.tag="${TAG_NAME_BASE}"
629+
--set upstream.backstage.image.tag="${TAG_NAME_BASE}" \
630+
--set orchestrator.enabled=false
627631
}
628632

629633
initiate_upgrade_deployments() {

0 commit comments

Comments
 (0)