]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/rook: update for v1beta1 API 23570/head
authorJohn Spray <john.spray@redhat.com>
Mon, 13 Aug 2018 12:01:07 +0000 (13:01 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 14 Aug 2018 13:28:10 +0000 (14:28 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/mgr/rook/rook_cluster.py

index c4046fe57914494d0c77f87eedcb7a73f7dccb17..0ba46e7ba953cb4a760fa99d7f2ff83ed82b85dc 100644 (file)
@@ -19,7 +19,7 @@ except ImportError:
     ApiException = None
 
 ROOK_SYSTEM_NS = "rook-ceph-system"
-ROOK_API_VERSION = "v1alpha1"
+ROOK_API_VERSION = "v1beta1"
 ROOK_API_NAME = "ceph.rook.io/%s" % ROOK_API_VERSION
 
 log = logging.getLogger('rook')
@@ -196,8 +196,7 @@ class RookCluster(object):
                 "namespace": self.rook_namespace
             },
             "spec": {
-                "preservePoolsOnRemove": True,
-                "skipPoolCreation": True,
+                "onlyManageDaemons": True,
                 "metadataServer": {
                     "activeCount": spec.max_size,
                     "activeStandby": True