FROM scratch

# This third label tells the pipeline that this operator should *also* be supported on OCP 4.4 and
# earlier.  It is used to control whether or not the pipeline should attempt to automatically
# backport this content into the old appregistry format and upload it to the quay.io application
# registry endpoints.
LABEL com.redhat.delivery.backport=true

# 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.5
LABEL com.redhat.openshift.versions="v4.5,v4.6"

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=apicast-operator
LABEL operators.operatorframework.io.bundle.channels.v1=threescale-2.9
LABEL operators.operatorframework.io.bundle.channel.default.v1=threescale-2.9

LABEL com.redhat.component="3scale-apicast-operator-bundle-container" \
      name="3scale-amp2/apicast-rhel7-operator-metadata" \
      version="2.9.1" \
      summary="APIcast operator container image metadata" \
      description="APIcast operator container image metadata" \
      io.k8s.display-name="APIcast Operator metadata" \
      io.openshift.expose-services="" \
      io.openshift.tags="3scale, apicast, api, gateway, openresty, api-gateway" \
      maintainer="Miguel Soriano <msoriano@redhat.com>"

COPY manifests /manifests/
COPY metadata /metadata/
