forked from rook/rook
external: remove replicated 3 pool for the rbd sc
csi pr get merged ceph/ceph-csi#4459
so, This reverts commit 812a9c02b0.
The csi PR removes the dependency of the pool parameter from the
rbd storage class if the topology pools are passed,
so removing them in the examples and making it optional
Signed-off-by: parth-gr <partharora1010@gmail.com>
This commit is contained in:
@@ -95,7 +95,6 @@ metadata:
|
||||
parameters:
|
||||
...
|
||||
...
|
||||
pool: replicapool
|
||||
topologyConstrainedPools: |
|
||||
[
|
||||
{"poolName":"pool-a",
|
||||
|
||||
@@ -1932,7 +1932,6 @@ class RadosJSON:
|
||||
"TOPOLOGY_FAILURE_DOMAIN_VALUES"
|
||||
],
|
||||
"topologyPools": self.out_map["TOPOLOGY_POOLS"],
|
||||
"pool": self.out_map["RBD_POOL_NAME"],
|
||||
"csi.storage.k8s.io/provisioner-secret-name": f"rook-{self.out_map['CSI_RBD_PROVISIONER_SECRET_NAME']}",
|
||||
"csi.storage.k8s.io/controller-expand-secret-name": f"rook-{self.out_map['CSI_RBD_PROVISIONER_SECRET_NAME']}",
|
||||
"csi.storage.k8s.io/node-stage-secret-name": f"rook-{self.out_map['CSI_RBD_NODE_SECRET_NAME']}",
|
||||
|
||||
@@ -334,7 +334,6 @@ metadata:
|
||||
provisioner: $RBD_PROVISIONER
|
||||
parameters:
|
||||
clusterID: $CLUSTER_ID_RBD
|
||||
pool: $RBD_POOL_NAME
|
||||
imageFormat: "2"
|
||||
imageFeatures: $ROOK_RBD_FEATURES
|
||||
topologyConstrainedPools: |
|
||||
|
||||
Reference in New Issue
Block a user