Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding OpenShift Supported Versions #846

Closed
Closed
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
3 changes: 3 additions & 0 deletions operator/bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ annotations:
# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

# Annotations to specify OCP versions compatibility.
com.redhat.openshift.versions: v4.8-v4.13
6 changes: 5 additions & 1 deletion release-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ function update_charts() {
function make_release() {
export IMAGE_TAG_BASE=quay.io/minio/directpv-operator
export IMG="${IMAGE_TAG_BASE}:${BUILD_VERSION}"
export BUNDLE_GEN_FLAGS="-q --overwrite --version ${BUILD_VERSION} --package minio-directpv-operator-rhmp"
# We need RedHat annotations, if you set overwrite to true, they will be
# removed, please set it to true only when needed for something new but
# right after, put RedHat annotations back in place. For example:
# com.redhat.openshift.versions: v4.8-v4.13
export BUNDLE_GEN_FLAGS="-q --overwrite=false --version ${BUILD_VERSION} --package minio-directpv-operator-rhmp"
export BUNDLE_IMG="${IMAGE_TAG_BASE}-bundle:v${BUILD_VERSION}"

cd operator
Expand Down
Loading