Skip to content

Commit 92f141d

Browse files
Merge pull request #2072 from openshift-cherrypick-robot/cherry-pick-2067-to-release-4.19
DFBUGS-2059: [release-4.19] Add target size ratio value 0.49 to custom cephBlockPool during creation
2 parents 318d79b + d49a7a9 commit 92f141d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/ocs/storage-pool/CreateStoragePool.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export const getPoolKindObj = (
113113
},
114114
replicated: {
115115
size: Number(state.replicaSize),
116+
targetSizeRatio: 0.49,
116117
},
117118
},
118119
});

packages/shared/src/types/storage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export type DataPool = {
99
name?: string;
1010
replicated?: {
1111
size: number;
12+
targetSizeRatio?: number;
1213
};
1314
};
1415

0 commit comments

Comments
 (0)