Skip to content

Commit 1fc9982

Browse files
igor-karpukhinfabritsius
authored andcommitted
Added openshift support label (#539)
1 parent db4b9b4 commit 1fc9982

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/gen-install-scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ else
6767
fi
6868

6969
# add additional LABELs to bundle.Docker file
70-
label="LABEL com.redhat.openshift.versions=\"v4.5-v4.7\"\nLABEL com.redhat.delivery.backport=true\nLABEL com.redhat.delivery.operator.bundle=true"
70+
label="LABEL com.redhat.openshift.versions=\"v4.5-v4.10\"\nLABEL com.redhat.delivery.backport=true\nLABEL com.redhat.delivery.operator.bundle=true"
7171
awk -v rep="FROM scratch\n\n$label" '{sub(/FROM scratch/, rep); print}' bundle.Dockerfile > tmp && mv tmp bundle.Dockerfile
7272

7373
operator-sdk bundle validate ./bundle

bundle/metadata/annotations.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ annotations:
1313
# Annotations for testing.
1414
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
1515
operators.operatorframework.io.test.config.v1: tests/scorecard/
16+
17+
# Supported Openshift versions
18+
com.redhat.openshift.versions: "v4.5-v4.10"

0 commit comments

Comments
 (0)