Skip to content

Commit

Permalink
Update supported OCP version 4.15-4.16. Set 4.17 for compatibility-mo…
Browse files Browse the repository at this point in the history
…de version.
  • Loading branch information
uriziv1 committed Aug 26, 2024
1 parent 1fe223b commit 528f54f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
COPY bundle/manifests /manifests/
COPY bundle/metadata /metadata/
COPY bundle/tests/scorecard /tests/scorecard/
LABEL com.redhat.openshift.versions="v4.15"
LABEL com.redhat.openshift.versions="v4.15-v4.16"
LABEL com.redhat.delivery.operator.bundle=true
2 changes: 1 addition & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ annotations:
operators.operatorframework.io.test.config.v1: tests/scorecard/

# OpenShift annotations:
com.redhat.openshift.versions: =v4.15
com.redhat.openshift.versions: "v4.15-v4.16"
2 changes: 1 addition & 1 deletion console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func RemoveConsole(client client.Client, namespace string) error {
return nil
}
func GetBasePath(clusterVersion string) string {
if strings.Contains(clusterVersion, "4.15") {
if strings.Contains(clusterVersion, "4.17") {
return CompatibilityBasePath
}

Expand Down
2 changes: 1 addition & 1 deletion hack/bundle-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ echo "Updating the olm.skipRange for new release version ${RELEASE_VERSION}..."
${YQ_BIN} eval -i ".metadata.annotations.\"olm.skipRange\" = \">=0.0.1 <${RELEASE_VERSION}\"" "${CSV_PATH}"

echo "add certification required labels to bundle.Dockerfile"
echo "LABEL com.redhat.openshift.versions=\"v4.15\"" >> ./bundle.Dockerfile
echo "LABEL com.redhat.openshift.versions=\"v4.15-v4.16\"" >> ./bundle.Dockerfile
echo "LABEL com.redhat.delivery.operator.bundle=true" >> ./bundle.Dockerfile

0 comments on commit 528f54f

Please sign in to comment.