From 1a1478a34251840d47f151e76c8c21f49a91a790 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Tue, 16 Sep 2025 09:08:50 -0700 Subject: [PATCH 1/2] core: fix ObjectZoneGroupSpec.Realm field description Resolves this incorrect field description: ~ $ k explain cephobjectzonegroup.spec.realm GROUP: ceph.rook.io KIND: CephObjectZoneGroup VERSION: v1 FIELD: realm DESCRIPTION: The display name for the ceph users Signed-off-by: Joshua Hoblitt --- Documentation/CRDs/specification.md | 8 ++++---- deploy/charts/rook-ceph/templates/resources.yaml | 4 ++-- deploy/examples/crds.yaml | 4 ++-- pkg/apis/ceph.rook.io/v1/types.go | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/CRDs/specification.md b/Documentation/CRDs/specification.md index cbb9f326f..d931b28f5 100644 --- a/Documentation/CRDs/specification.md +++ b/Documentation/CRDs/specification.md @@ -2148,7 +2148,7 @@ string (Optional) -

The display name for the ceph users

+

The display name for the ceph user.

@@ -2447,7 +2447,7 @@ string -

The display name for the ceph users

+

The name of the realm the zone group is a member of.

@@ -11432,7 +11432,7 @@ string (Optional) -

The display name for the ceph users

+

The display name for the ceph user.

@@ -11889,7 +11889,7 @@ string -

The display name for the ceph users

+

The name of the realm the zone group is a member of.

diff --git a/deploy/charts/rook-ceph/templates/resources.yaml b/deploy/charts/rook-ceph/templates/resources.yaml index 92a09e2a6..c59739299 100644 --- a/deploy/charts/rook-ceph/templates/resources.yaml +++ b/deploy/charts/rook-ceph/templates/resources.yaml @@ -13868,7 +13868,7 @@ spec: description: The namespace where the parent CephCluster and CephObjectStore are found type: string displayName: - description: The display name for the ceph users + description: The display name for the ceph user. type: string keys: description: |- @@ -14050,7 +14050,7 @@ spec: description: ObjectZoneGroupSpec represent the spec of an ObjectZoneGroup properties: realm: - description: The display name for the ceph users + description: The name of the realm the zone group is a member of. type: string required: - realm diff --git a/deploy/examples/crds.yaml b/deploy/examples/crds.yaml index 02f4c63e3..0912afd33 100644 --- a/deploy/examples/crds.yaml +++ b/deploy/examples/crds.yaml @@ -13858,7 +13858,7 @@ spec: description: The namespace where the parent CephCluster and CephObjectStore are found type: string displayName: - description: The display name for the ceph users + description: The display name for the ceph user. type: string keys: description: |- @@ -14039,7 +14039,7 @@ spec: description: ObjectZoneGroupSpec represent the spec of an ObjectZoneGroup properties: realm: - description: The display name for the ceph users + description: The name of the realm the zone group is a member of. type: string required: - realm diff --git a/pkg/apis/ceph.rook.io/v1/types.go b/pkg/apis/ceph.rook.io/v1/types.go index ccfc70dc6..1f504c3a0 100755 --- a/pkg/apis/ceph.rook.io/v1/types.go +++ b/pkg/apis/ceph.rook.io/v1/types.go @@ -2228,7 +2228,7 @@ type ObjectStoreUserSpec struct { // The store the user will be created in // +optional Store string `json:"store,omitempty"` - // The display name for the ceph users + // The display name for the ceph user. // +optional DisplayName string `json:"displayName,omitempty"` // +optional @@ -2409,7 +2409,7 @@ type CephObjectZoneGroupList struct { // ObjectZoneGroupSpec represent the spec of an ObjectZoneGroup type ObjectZoneGroupSpec struct { - // The display name for the ceph users + // The name of the realm the zone group is a member of. Realm string `json:"realm"` } From 8b58d685926aaa5158f3a9b06768499c06b92f91 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Tue, 16 Sep 2025 09:12:20 -0700 Subject: [PATCH 2/2] core: fix ObjectZoneSpec.ZoneGroup field description Resolves this incorrect field description: ~ $ k explain cephobjectzone.spec.zoneGroup GROUP: ceph.rook.io KIND: CephObjectZone VERSION: v1 FIELD: zoneGroup DESCRIPTION: The display name for the ceph users Signed-off-by: Joshua Hoblitt --- Documentation/CRDs/specification.md | 4 ++-- deploy/charts/rook-ceph/templates/resources.yaml | 2 +- deploy/examples/crds.yaml | 2 +- pkg/apis/ceph.rook.io/v1/types.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/CRDs/specification.md b/Documentation/CRDs/specification.md index d931b28f5..282a11dcb 100644 --- a/Documentation/CRDs/specification.md +++ b/Documentation/CRDs/specification.md @@ -2287,7 +2287,7 @@ string -

The display name for the ceph users

+

The name of the zone group the zone is a member of.

@@ -11918,7 +11918,7 @@ string -

The display name for the ceph users

+

The name of the zone group the zone is a member of.

diff --git a/deploy/charts/rook-ceph/templates/resources.yaml b/deploy/charts/rook-ceph/templates/resources.yaml index c59739299..2c927c805 100644 --- a/deploy/charts/rook-ceph/templates/resources.yaml +++ b/deploy/charts/rook-ceph/templates/resources.yaml @@ -14636,7 +14636,7 @@ spec: type: boolean type: object zoneGroup: - description: The display name for the ceph users + description: The name of the zone group the zone is a member of. type: string required: - zoneGroup diff --git a/deploy/examples/crds.yaml b/deploy/examples/crds.yaml index 0912afd33..7b3364c42 100644 --- a/deploy/examples/crds.yaml +++ b/deploy/examples/crds.yaml @@ -14624,7 +14624,7 @@ spec: type: boolean type: object zoneGroup: - description: The display name for the ceph users + description: The name of the zone group the zone is a member of. type: string required: - zoneGroup diff --git a/pkg/apis/ceph.rook.io/v1/types.go b/pkg/apis/ceph.rook.io/v1/types.go index 1f504c3a0..94bd03d51 100755 --- a/pkg/apis/ceph.rook.io/v1/types.go +++ b/pkg/apis/ceph.rook.io/v1/types.go @@ -2441,7 +2441,7 @@ type CephObjectZoneList struct { // ObjectZoneSpec represent the spec of an ObjectZone type ObjectZoneSpec struct { - // The display name for the ceph users + // The name of the zone group the zone is a member of. ZoneGroup string `json:"zoneGroup"` // The metadata pool settings