Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hack/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ function capture_manifests() {
clusterdeployment \
clusterimageset \
clusterprovision \
clusterdeprovision \
clusterstate \
dnszone \
machinepool \
Expand Down
3 changes: 3 additions & 0 deletions hack/e2e-pool-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ oc get clusterpool ${REAL_POOL_NAME} -o json \
NEW_CLUSTER_NAME=cdcci-${CLUSTER_NAME#*-}
create_customization "cdc-test" "${CLUSTER_NAMESPACE}" "${NEW_CLUSTER_NAME}"
oc patch cp -n $CLUSTER_NAMESPACE $REAL_POOL_NAME --type=merge -p '{"spec": {"inventory": [{"name": "cdc-test"}]}}'
# Set the legacy deprovision annotation to true. This annotation will be propagated to the created cluster.
# This is to ensure the legacy destroy path continues to work post AWK SDK v2 migration.
oc patch cp -n $CLUSTER_NAMESPACE $REAL_POOL_NAME --type=merge -p '{"spec": {"annotations": {"hive.openshift.io/legacy-deprovision": "true"}}}'
# Now we can scale up the pool so it starts creating clusters
oc scale cp -n $CLUSTER_NAMESPACE $REAL_POOL_NAME --replicas=$POOL_SIZE

Expand Down