Skip to content

Commit 2a5a310

Browse files
authored
fix: prepare-community-operators-update.sh (#2060)
Signed-off-by: Anatolii Bazko <[email protected]>
1 parent ddf4392 commit 2a5a310

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/scripts/release/prepare-community-operators-update.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ Options:
5454

5555
getLatestStableVersions
5656

57-
INDEX_IMAGE="quay.io/eclipse/eclipse-che-openshift-opm-catalog:test"
5857
packageName="eclipse-che"
5958
echo
6059
echo "## Prepare the OperatorHub package to push to the 'community-operators-prod' repository from local package '${packageName}'"
@@ -119,6 +118,9 @@ do
119118
-e '/operators.operatorframework.io.test.mediatype.v1: scorecard+v1/d' \
120119
-i "${folderToUpdate}/${LAST_PACKAGE_VERSION}/metadata/annotations.yaml"
121120

121+
cp "${OPERATOR_REPO}/bundle/$channel/${packageName}/manifests/eclipse-che-edit_rbac.authorization.k8s.io_v1_clusterrole.yaml" "${folderToUpdate}/${LAST_PACKAGE_VERSION}/manifests/eclipse-che-edit_rbac.authorization.k8s.io_v1_clusterrole.yaml"
122+
cp "${OPERATOR_REPO}/bundle/$channel/${packageName}/manifests/eclipse-che-view_rbac.authorization.k8s.io_v1_clusterrole.yaml" "${folderToUpdate}/${LAST_PACKAGE_VERSION}/manifests/eclipse-che-view_rbac.authorization.k8s.io_v1_clusterrole.yaml"
123+
122124
echo " - Replace ci.yaml file"
123125
cp ${OPERATOR_REPO}/build/scripts/release/ci.yaml ${folderToUpdate}/ci.yaml
124126

0 commit comments

Comments
 (0)