diff --git a/cluster/charts/rook-ceph/templates/resources.yaml b/cluster/charts/rook-ceph/templates/resources.yaml index 8b1ceddf4..f050a6a36 100644 --- a/cluster/charts/rook-ceph/templates/resources.yaml +++ b/cluster/charts/rook-ceph/templates/resources.yaml @@ -41,6 +41,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -4769,6 +4770,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -4907,6 +4909,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -6196,6 +6199,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -6968,6 +6972,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -7320,6 +7325,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -7457,6 +7463,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool diff --git a/cluster/examples/kubernetes/ceph/crds.yaml b/cluster/examples/kubernetes/ceph/crds.yaml index 0cecc5787..9fba39aa3 100644 --- a/cluster/examples/kubernetes/ceph/crds.yaml +++ b/cluster/examples/kubernetes/ceph/crds.yaml @@ -44,6 +44,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -4772,6 +4773,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -4910,6 +4912,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -6199,6 +6202,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -6971,6 +6975,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -7323,6 +7328,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool @@ -7460,6 +7466,7 @@ spec: - passive - aggressive - force + - "" type: string crushRoot: description: The root of the crush hierarchy utilized by the pool diff --git a/pkg/apis/ceph.rook.io/v1/types.go b/pkg/apis/ceph.rook.io/v1/types.go index a537cc2c0..fe221b64e 100755 --- a/pkg/apis/ceph.rook.io/v1/types.go +++ b/pkg/apis/ceph.rook.io/v1/types.go @@ -578,7 +578,7 @@ type PoolSpec struct { DeviceClass string `json:"deviceClass,omitempty"` // The inline compression mode in Bluestore OSD to set to (options are: none, passive, aggressive, force) - // +kubebuilder:validation:Enum=none;passive;aggressive;force + // +kubebuilder:validation:Enum=none;passive;aggressive;force;"" // +kubebuilder:default=none // +optional CompressionMode string `json:"compressionMode,omitempty"`