From 1468d1600ccf09b1ad53023199fc03baa114edca Mon Sep 17 00:00:00 2001 From: kevinrizza Date: Fri, 27 Oct 2023 12:59:07 -0400 Subject: [PATCH] Add Observability as a valid operator category Signed-off-by: kevinrizza --- pkg/validation/internal/operatorhub.go | 1 + .../valid_bundle/etcdoperator.v0.9.4.clusterserviceversion.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/validation/internal/operatorhub.go b/pkg/validation/internal/operatorhub.go index e82d10287..02661c207 100644 --- a/pkg/validation/internal/operatorhub.go +++ b/pkg/validation/internal/operatorhub.go @@ -151,6 +151,7 @@ var validCategories = map[string]struct{}{ "Security": {}, "Storage": {}, "Streaming & Messaging": {}, + "Observability": {}, } const minKubeVersionWarnMessage = "csv.Spec.minKubeVersion is not informed. It is recommended you provide this information. " + diff --git a/pkg/validation/internal/testdata/valid_bundle/etcdoperator.v0.9.4.clusterserviceversion.yaml b/pkg/validation/internal/testdata/valid_bundle/etcdoperator.v0.9.4.clusterserviceversion.yaml index 29d1f682a..b4dc61e58 100644 --- a/pkg/validation/internal/testdata/valid_bundle/etcdoperator.v0.9.4.clusterserviceversion.yaml +++ b/pkg/validation/internal/testdata/valid_bundle/etcdoperator.v0.9.4.clusterserviceversion.yaml @@ -16,7 +16,7 @@ metadata: ],\n \"storageType\":\"S3\",\n \"s3\": {\n \"path\": \"\"\ ,\n \"awsSecret\": \"\"\n }\n }\n }\n]\n" capabilities: Full Lifecycle - categories: Database, Big Data + categories: Database, Big Data, Observability containerImage: quay.io/coreos/etcd-operator@sha256:66a37fd61a06a43969854ee6d3e21087a98b93838e284a6086b13917f96b0d9b createdAt: 2019-02-28 01:03:00 description: Create and maintain highly-available etcd clusters on Kubernetes