Skip to content

Commit

Permalink
Add API field for poolSpec of metadata pool of cephFS and objectStore
Browse files Browse the repository at this point in the history
Signed-off-by: Malay Kumar Parida <[email protected]>
  • Loading branch information
malayparida2000 committed Feb 27, 2025
1 parent 22c98f1 commit 41ac910
Show file tree
Hide file tree
Showing 9 changed files with 1,290 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/v1/storagecluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ type ManageCephFilesystems struct {
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
StorageClassName string `json:"storageClassName,omitempty"`
// MetadataPoolSpec specifies the pool specification for the default cephFS metadata pool
MetadataPoolSpec rookCephv1.PoolSpec `json:"metadataPoolSpec,omitempty"`
// DataPoolSpec specifies the pool specification for the default cephfs data pool
DataPoolSpec rookCephv1.PoolSpec `json:"dataPoolSpec,omitempty"`
// AdditionalDataPools specifies list of additional named cephfs data pools
Expand All @@ -289,6 +291,8 @@ type ManageCephObjectStores struct {
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
StorageClassName string `json:"storageClassName,omitempty"`
// MetadataPoolSpec specifies the pool specification for the default cephObjectStore metadata pool
MetadataPoolSpec rookCephv1.PoolSpec `json:"metadataPoolSpec,omitempty"`
// DataPoolSpec specifies the pool specification for the default cephObjectStore data pool
DataPoolSpec rookCephv1.PoolSpec `json:"dataPoolSpec,omitempty"`
}
Expand Down
2 changes: 2 additions & 0 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

424 changes: 424 additions & 0 deletions config/crd/bases/ocs.openshift.io_storageclusters.yaml

Large diffs are not rendered by default.

424 changes: 424 additions & 0 deletions deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml

Large diffs are not rendered by default.

424 changes: 424 additions & 0 deletions deploy/ocs-operator/manifests/storagecluster.crd.yaml

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41ac910

Please sign in to comment.