Skip to content

Commit 7d90202

Browse files
committed
Pinning to 3.3
1 parent f6054bd commit 7d90202

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/hack/install-odh.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# OPERATOR_CATALOG - Custom catalog image (optional). When unset, uses community-operators.
99
# Set to e.g. quay.io/opendatahub/opendatahub-operator-catalog:latest for custom builds.
1010
# OPERATOR_CHANNEL - Subscription channel (default: fast-3)
11-
# OPERATOR_STARTING_CSV - Pin Subscription startingCSV (optional; unset = follow channel head). Set to "-" to omit.
11+
# OPERATOR_STARTING_CSV - Subscription startingCSV (default: opendatahub-operator.v3.3.0). Set to "-" to omit and follow channel head.
1212
# OPERATOR_INSTALL_PLAN_APPROVAL - Manual (default) or Automatic; use "-" to omit.
1313
# Manual: blocks auto-upgrades; this script auto-approves only the first InstallPlan so install does not stall.
1414
# OPERATOR_IMAGE - Custom operator image to patch into CSV (optional)
@@ -77,8 +77,8 @@ else
7777
channel="${OPERATOR_CHANNEL:-fast-3}"
7878
fi
7979

80-
# Unpinned by default — OLM picks latest CSV in channel. Set OPERATOR_STARTING_CSV to pin a version.
81-
starting_csv="${OPERATOR_STARTING_CSV:-}"
80+
# Default pin: ODH 3.3.0. Override OPERATOR_STARTING_CSV, or set "-" to omit startingCSV (channel head).
81+
starting_csv="${OPERATOR_STARTING_CSV:-opendatahub-operator.v3.3.0}"
8282
[[ "$starting_csv" == "-" ]] && starting_csv=""
8383

8484
# Manual = no auto-upgrades; install_olm_operator still approves the first InstallPlan programmatically

scripts/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ ENVIRONMENT VARIABLES:
174174
MAAS_CONTROLLER_IMAGE Custom MaaS controller container image
175175
OPERATOR_CATALOG Custom operator catalog
176176
OPERATOR_IMAGE Custom operator image
177-
OPERATOR_STARTING_CSV ODH Subscription startingCSV (default: unset — follow channel; set explicit CSV or "-" to omit)
177+
OPERATOR_STARTING_CSV ODH Subscription startingCSV (default: opendatahub-operator.v3.3.0; "-" to omit and follow channel head)
178178
OPERATOR_INSTALL_PLAN_APPROVAL ODH Subscription OLM approval (default: Manual — no auto-upgrades; first InstallPlan is auto-approved by the script)
179179
OPERATOR_TYPE Operator type (rhoai/odh)
180180
EXTERNAL_OIDC Enable external OIDC on maas-api (true/false)
@@ -1022,8 +1022,8 @@ install_primary_operator() {
10221022
channel="${OPERATOR_CHANNEL:-fast-3}"
10231023
fi
10241024

1025-
# Unpinned by default — OLM picks latest CSV in channel. Set OPERATOR_STARTING_CSV to pin, or "-" to omit field.
1026-
local odh_starting_csv="${OPERATOR_STARTING_CSV:-}"
1025+
# Default pin: ODH 3.3.0. Set OPERATOR_STARTING_CSV to another CSV, or "-" to omit startingCSV (channel head).
1026+
local odh_starting_csv="${OPERATOR_STARTING_CSV:-opendatahub-operator.v3.3.0}"
10271027
[[ "$odh_starting_csv" == "-" ]] && odh_starting_csv=""
10281028

10291029
# Manual = no auto-upgrades; install_olm_operator auto-approves the first InstallPlan only

0 commit comments

Comments
 (0)