File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,12 @@ jobs:
259259 continue
260260 fi
261261
262- CHART_LOCATION_IN_NETWORK_OPERATOR=deployment/network-operator/charts/$SOURCE_REPO
262+ CHART_NAME=$(yq ".${component}.chartName" hack/release.yaml)
263+ # Use SOURCE_REPO if chartName is null or empty
264+ if [ "$CHART_NAME" = "null" ] || [ -z "$CHART_NAME" ]; then
265+ CHART_NAME=$SOURCE_REPO
266+ fi
267+ CHART_LOCATION_IN_NETWORK_OPERATOR=deployment/network-operator/charts/$CHART_NAME
263268 rm -rf $CHART_LOCATION_IN_NETWORK_OPERATOR/*
264269 cp -r ../$SOURCE_REPO/$CHART_LOCATION/* $CHART_LOCATION_IN_NETWORK_OPERATOR
265270
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ maintenanceOperator:
113113 sourceRepository : maintenance-operator
114114 version : network-operator-v25.7.0-beta.3
115115 chartLocation : deployment/maintenance-operator-chart
116+ chartName : maintenance-operator-chart
116117spectrumXOperator :
117118 image : spectrum-x-operator
118119 repository : nvcr.io/nvstaging/mellanox
You can’t perform that action at this time.
0 commit comments