Skip to content

Commit

Permalink
mgr/rook: update for v1beta1 API
Browse files Browse the repository at this point in the history
Signed-off-by: John Spray <john.spray@redhat.com>
  • Loading branch information
John Spray committed Aug 14, 2018
1 parent 418db46 commit 4a45b67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pybind/mgr/rook/rook_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
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')
Expand Down Expand Up @@ -196,8 +196,7 @@ def add_filesystem(self, spec):
"namespace": self.rook_namespace
},
"spec": {
"preservePoolsOnRemove": True,
"skipPoolCreation": True,
"onlyManageDaemons": True,
"metadataServer": {
"activeCount": spec.max_size,
"activeStandby": True
Expand Down

1 comment on commit 4a45b67

@sebastian-philipp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future reference: onlyManageDameon was never implemented. See rook/rook#1900

Please sign in to comment.