@@ -843,6 +843,18 @@ cluster_setup_k8s_helm() {
843843 # install_crunchy_postgres_k8s_operator # Works with K8s but disabled in values file
844844}
845845
846+ install_orchestrator_infra_chart () {
847+ ORCH_INFRA_NS=" orchestrator-infra"
848+ configure_namespace ${ORCH_INFRA_NS}
849+
850+ echo " Deploying orchestrator-infra chart"
851+ cd " ${DIR} "
852+ helm upgrade -i orch-infra -n " ${ORCH_INFRA_NS} " \
853+ " oci://quay.io/rhdh/orchestrator-infra-chart" --version " ${CHART_VERSION} " \
854+ --set serverlessLogicOperator.subscription.spec.installPlanApproval=Automatic \
855+ --set serverlessOperator.subscription.spec.installPlanApproval=Automatic
856+ }
857+
846858# Helper function to get common helm set parameters
847859get_image_helm_set_params () {
848860 local params=" "
@@ -863,7 +875,7 @@ perform_helm_install() {
863875 local release_name=$1
864876 local namespace=$2
865877 local value_file=$3
866-
878+
867879 helm upgrade -i " ${release_name} " -n " ${namespace} " \
868880 " ${HELM_CHART_URL} " --version " ${CHART_VERSION} " \
869881 -f " ${DIR} /value_files/${value_file} " \
@@ -875,6 +887,10 @@ base_deployment() {
875887 configure_namespace ${NAME_SPACE}
876888
877889 deploy_redis_cache " ${NAME_SPACE} "
890+
891+ install_orchestrator_infra_chart
892+
893+ cd " ${DIR} "
878894 local rhdh_base_url=" https://${RELEASE_NAME} -developer-hub-${NAME_SPACE} .${K8S_CLUSTER_ROUTER_BASE} "
879895 apply_yaml_files " ${DIR} " " ${NAME_SPACE} " " ${rhdh_base_url} "
880896 echo " Deploying image from repository: ${QUAY_REPO} , TAG_NAME: ${TAG_NAME} , in NAME_SPACE: ${NAME_SPACE} "
@@ -986,7 +1002,8 @@ initiate_sanity_plugin_checks_deployment() {
9861002 " ${HELM_CHART_URL} " --version " ${CHART_VERSION} " \
9871003 -f " /tmp/${HELM_CHART_SANITY_PLUGINS_MERGED_VALUE_FILE_NAME} " \
9881004 --set global.clusterRouterBase=" ${K8S_CLUSTER_ROUTER_BASE} " \
989- $( get_image_helm_set_params)
1005+ $( get_image_helm_set_params) \
1006+ --set orchestrator.enabled=true
9901007}
9911008
9921009check_and_test () {
0 commit comments