Skip to content

Commit 54283e8

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 8190b20 commit 54283e8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ type ImageCatalogRef struct {
205205

206206
// +kubebuilder:validation:XValidation:rule="!(has(self.imageCatalogRef) && has(self.imageName))",message="imageName and imageCatalogRef are mutually exclusive"
207207

208-
// ClusterSpec defines the desired state of Cluster
208+
// ClusterSpec defines the desired state of a PostgreSQL cluster managed by
209+
// CloudNativePG.
209210
type ClusterSpec struct {
210211
// Description of this PostgreSQL cluster
211212
// +optional
@@ -797,7 +798,8 @@ type AvailableArchitecture struct {
797798
Hash string `json:"hash"`
798799
}
799800

800-
// ClusterStatus defines the observed state of Cluster
801+
// ClusterStatus defines the observed state of a PostgreSQL cluster managed by
802+
// CloudNativePG.
801803
type ClusterStatus struct {
802804
// The total number of PVC Groups detected in the cluster. It may differ from the number of existing instance pods.
803805
// +optional
@@ -2514,7 +2516,8 @@ type RoleConfiguration struct {
25142516
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase",description="Cluster current status"
25152517
// +kubebuilder:printcolumn:name="Primary",type="string",JSONPath=".status.currentPrimary",description="Primary pod"
25162518

2517-
// Cluster is the Schema for the PostgreSQL API
2519+
// Cluster defines the API schema for a highly available PostgreSQL database cluster
2520+
// managed by CloudNativePG.
25182521
type Cluster struct {
25192522
metav1.TypeMeta `json:",inline"`
25202523
metav1.ObjectMeta `json:"metadata"`

0 commit comments

Comments
 (0)