rgw: change CephObjectZone.spec.{dataPool,metadataPool} to optional
These fields must be optional in order to allow usage of pre-existing pools managed by CephBlockPool CR(s). Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
This commit is contained in:
1 parent
049953471d
commit
76fa776795
4 files changed
+6
-4
No files matched your search
@@ -2180,6 +2180,7 @@ PoolSpec
|
||||
</em>
|
||||
</td>
|
||||
<td>
|
||||
<em>(Optional)</em>
|
||||
<p>The metadata pool settings</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -2193,6 +2194,7 @@ PoolSpec
|
||||
</em>
|
||||
</td>
|
||||
<td>
|
||||
<em>(Optional)</em>
|
||||
<p>The data pool settings</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -10367,6 +10369,7 @@ PoolSpec
|
||||
</em>
|
||||
</td>
|
||||
<td>
|
||||
<em>(Optional)</em>
|
||||
<p>The metadata pool settings</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -10380,6 +10383,7 @@ PoolSpec
|
||||
</em>
|
||||
</td>
|
||||
<td>
|
||||
<em>(Optional)</em>
|
||||
<p>The data pool settings</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -13323,8 +13323,6 @@ spec:
|
||||
description: The display name for the ceph users
|
||||
type: string
|
||||
required:
|
||||
- dataPool
|
||||
- metadataPool
|
||||
- zoneGroup
|
||||
type: object
|
||||
status:
|
||||
|
||||
@@ -13311,8 +13311,6 @@ spec:
|
||||
description: The display name for the ceph users
|
||||
type: string
|
||||
required:
|
||||
- dataPool
|
||||
- metadataPool
|
||||
- zoneGroup
|
||||
type: object
|
||||
status:
|
||||
|
||||
@@ -2128,10 +2128,12 @@ type ObjectZoneSpec struct {
|
||||
ZoneGroup string `json:"zoneGroup"`
|
||||
|
||||
// The metadata pool settings
|
||||
// +optional
|
||||
// +nullable
|
||||
MetadataPool PoolSpec `json:"metadataPool"`
|
||||
|
||||
// The data pool settings
|
||||
// +optional
|
||||
// +nullable
|
||||
DataPool PoolSpec `json:"dataPool"`
|
||||
|
||||
|
||||
Reference in new issue
Block a user