From 22cedcb1bf5fcab441b1770a6893fc22ce365536 Mon Sep 17 00:00:00 2001 From: Lalatendu Mohanty Date: Thu, 3 Oct 2024 09:38:32 -0400 Subject: [PATCH] Update api/core/v1alpha1/clustercatalog_types.go Co-authored-by: Joe Lanford --- api/core/v1alpha1/clustercatalog_types.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/core/v1alpha1/clustercatalog_types.go b/api/core/v1alpha1/clustercatalog_types.go index e58e2e76..f4ba7de8 100644 --- a/api/core/v1alpha1/clustercatalog_types.go +++ b/api/core/v1alpha1/clustercatalog_types.go @@ -94,8 +94,10 @@ type ClusterCatalogSpec struct { Priority int32 `json:"priority"` // Availability is an optional field that allows users to define whether the ClusterCatalog is utilized by the operator-controller. - // If set to "Enabled", the catalog will be used for updates, serving contents, and package installations. - // If set to "Disabled", the catalog will be ignored by the operator-controller, meaning it will not be used for any operations. + // If set to "Enabled", catalogd will attempt to unpack and serve the catalog specified in the source. + // If set to "Disabled", catalogd will stop serving the catalog and pause attempts to pull the catalog specified in the source. + // + // Clients MUST tolerate the presence of (and SHOULD NOT attempt to query) catalogs with availability set to Disabled. // +kubebuilder:validation:Enum="Disabled";"Enabled" // +kubebuilder:default="Enabled" // +optional