FROM scratch

# This label tells the pipeline that this is a bundle image and should be
# delivered via an index image
LABEL com.redhat.delivery.operator.bundle=true

# This label tells the pipeline which versions of OpenShift the operator supports.
# This is used to control which index images should include this operator.
# At the moment, the specified version means the minimum version for index image is
# OpenShift 4.6
LABEL com.redhat.openshift.versions="v4.6-v4.11"

# The following labels are copies of the same content in annotations.yaml and are needed by OLM
# Note the package name and channels which are very important!
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=3scale-operator
LABEL operators.operatorframework.io.bundle.channels.v1=threescale-2.13
LABEL operators.operatorframework.io.bundle.channel.default.v1=threescale-2.13

LABEL com.redhat.component="3scale-operator-bundle-container" \
      name="3scale-amp2/3scale-rhel7-operator-metadata" \
      version="2.13.0" \
      summary="3scale operator container image prod metadata" \
      description="3scale operator container image prod metadata" \
      io.k8s.display-name="3scale operator metadata" \
      io.openshift.expose-services="" \
      io.openshift.tags="3scale, api" \
      maintainer="Eguzki Astiz Lezaun <eastizle@redhat.com>"

COPY bundle /manifests/
COPY metadata /metadata/
