Skip to content

Commit

Permalink
chore: update ClusterServiceVersion annotations
Browse files Browse the repository at this point in the history
OperatorHub has requirements for annotations [1]. "createdAt" should use
the format "yyyy-mm-ddThh:mm:ssZ", "support" should have the name of the
company that maintains the operator.

[1]: https://github.com/redhat-openshift-ecosystem/community-operators-prod/blob/main/docs/packaging-required-fields.md
  • Loading branch information
dmage authored and openshift-merge-bot[bot] committed Jan 26, 2024
1 parent 0cc5168 commit f3169dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bundle/manifests/quay-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
capabilities: Full Lifecycle
categories: Integration & Delivery
containerImage: quay.io/projectquay/quay-operator:v3.6.1
createdAt: 2021-04-23 10:04 UTC
createdAt: 2021-04-23T10:04:00Z
support: Project Quay
description: Opinionated deployment of Quay on Kubernetes.
quay-version: v3.6.1
repository: https://github.com/quay/quay-operator
Expand Down
2 changes: 1 addition & 1 deletion hack/prepare-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export POSTGRES_PREVIOUS_DIGEST
export REDIS_DIGEST

yq eval -i '
.metadata.annotations.createdAt = (now | tz("UTC") | format_datetime("2006-01-02 15:04 UTC")) |
.metadata.annotations.createdAt = (now | tz("UTC")) |
.metadata.annotations["olm.skipRange"] = (">=3.6.x <${RELEASE}" | envsubst) |
.metadata.annotations["quay-version"] = strenv(RELEASE) |
.metadata.annotations.containerImage = ("quay.io/projectquay/quay-operator:${RELEASE}" | envsubst) |
Expand Down

0 comments on commit f3169dc

Please sign in to comment.