Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f8d243

Browse files
committedFeb 26, 2024
add missing comments for status fields
1 parent d4f3de3 commit 3f8d243

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed
 

Diff for: ‎crds/operators.coreos.com_catalogsources.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ spec:
677677
- type
678678
x-kubernetes-list-type: map
679679
configMapReference:
680+
description: ConfigMapReference (deprecated) is the reference to the ConfigMap containing the catalog source's configuration, when the catalog source is a ConfigMap
680681
type: object
681682
required:
682683
- name
@@ -695,6 +696,7 @@ spec:
695696
description: UID is a type that holds unique ID values, including UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being a type captures intent and helps make sure that UIDs and names do not get conflated.
696697
type: string
697698
connectionState:
699+
description: ConnectionState represents the current state of the CatalogSource's connection to the registry
698700
type: object
699701
required:
700702
- lastObservedState
@@ -717,6 +719,7 @@ spec:
717719
description: Reason is the reason the CatalogSource was transitioned to its current state.
718720
type: string
719721
registryService:
722+
description: RegistryService is the GRPC service that the catalog source is using to serve the catalog
720723
type: object
721724
properties:
722725
createdAt:

Diff for: ‎crds/zz_defs.go

+7-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ‎pkg/operators/v1alpha1/catalogsource_types.go

+3
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,11 @@ type CatalogSourceStatus struct {
239239
// The last time the CatalogSource image registry has been polled to ensure the image is up-to-date
240240
LatestImageRegistryPoll *metav1.Time `json:"latestImageRegistryPoll,omitempty"`
241241

242+
// ConfigMapReference (deprecated) is the reference to the ConfigMap containing the catalog source's configuration, when the catalog source is a ConfigMap
242243
ConfigMapResource *ConfigMapResourceReference `json:"configMapReference,omitempty"`
244+
// RegistryService is the GRPC service that the catalog source is using to serve the catalog
243245
RegistryServiceStatus *RegistryServiceStatus `json:"registryService,omitempty"`
246+
// ConnectionState represents the current state of the CatalogSource's connection to the registry
244247
GRPCConnectionState *GRPCConnectionState `json:"connectionState,omitempty"`
245248

246249
// Represents the state of a CatalogSource. Note that Message and Reason represent the original

0 commit comments

Comments
 (0)
Please sign in to comment.