Skip to content

Commit

Permalink
Added openshift versions metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontes11 committed Dec 28, 2023
1 parent 0c3ae04 commit afd0d6c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ IMAGE_TAG_BASE ?= ghcr.io/mariadb-operator/mariadb-operator-helm
BUNDLE_IMG ?= $(IMAGE_TAG_BASE)-bundle:$(VERSION)

# BUNDLE_GEN_FLAGS are the flags passed to the operator-sdk generate bundle command
BUNDLE_GEN_FLAGS ?= -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
BUNDLE_GEN_FLAGS ?= -q --overwrite=false --version $(VERSION) $(BUNDLE_METADATA_OPTS)

# USE_IMAGE_DIGESTS defines if images are resolved via tags or digests
# You can enable this value if you would like to use SHA Based Digests
Expand Down
3 changes: 3 additions & 0 deletions bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.26.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
LABEL com.redhat.openshift.versions=v4.12
LABEL com.redhat.delivery.operator.bundle=true
LABEL com.redhat.delivery.backport=false

# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ metadata:
capabilities: Deep Insights
categories: Database
containerImage: ghcr.io/mariadb-operator/mariadb-operator-helm:0.24.0
createdAt: "2023-12-28T18:13:59Z"
createdAt: "2023-12-28T18:23:06Z"
description: Run and operate MariaDB in a cloud native way
operators.operatorframework.io/builder: operator-sdk-v1.26.0
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
Expand Down
5 changes: 4 additions & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ annotations:
operators.operatorframework.io.metrics.builder: operator-sdk-v1.26.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1

com.redhat.openshift.versions: v4.12
com.redhat.delivery.operator.bundle: true
com.redhat.delivery.backport: false

# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

0 comments on commit afd0d6c

Please sign in to comment.