diff --git a/deploy/examples/create-external-cluster-resources.py b/deploy/examples/create-external-cluster-resources.py index bf5a3a46a4033..2d05381730941 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -1942,6 +1942,7 @@ def gen_json_out(self): "topologyPools": self.convert_comma_seprated_to_array( 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']}", diff --git a/deploy/examples/import-external-cluster.sh b/deploy/examples/import-external-cluster.sh index 7f77d32f310e7..54a87a457c6cb 100644 --- a/deploy/examples/import-external-cluster.sh +++ b/deploy/examples/import-external-cluster.sh @@ -331,6 +331,7 @@ metadata: provisioner: $RBD_PROVISIONER parameters: clusterID: $CLUSTER_ID_RBD + pool: $RBD_POOL_NAME imageFormat: "2" imageFeatures: $ROOK_RBD_FEATURES topologyConstrainedPools: |