From 0f8b0992f5ce491c936f54847fb77bbedef4b280 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Tue, 16 Sep 2025 09:08:50 -0700 Subject: [PATCH] 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 (cherry picked from commit 1a1478a34251840d47f151e76c8c21f49a91a790) --- 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"` }