Skip to content

Commit e285957

Browse files
authored
Temporarily add other indexes support to community signing (#305)
This is to make the manual signing workaround easier for redhat-marketplace-index and certified-operator index images, since there's a gap in the signing support for republished bundles.
1 parent cf16f56 commit e285957

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ansible/roles/operator-pipeline/templates/openshift/tasks/verify-whitelisted-index-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ spec:
1313
#! /usr/bin/env bash
1414
INDEX_IMAGE="$(cut -d':' -f1 <<< '$(params.reference)')"
1515
echo $INDEX_IMAGE
16-
if [ $INDEX_IMAGE == "registry.redhat.io/redhat/community-operator-index" ]; then
16+
if [[ $INDEX_IMAGE == "registry.redhat.io/redhat/community-operator-index" ||
17+
$INDEX_IMAGE == "registry.redhat.io/redhat/redhat-marketplace-index" ||
18+
$INDEX_IMAGE == "registry.redhat.io/redhat/certified-operator-index" ]]; then
1719
echo "The index image is white listed."
1820
else
1921
echo "The index image is not white listed."

0 commit comments

Comments
 (0)