]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/rook: refactor apply/add for rgw
authorSage Weil <sage@redhat.com>
Wed, 18 Mar 2020 21:20:12 +0000 (17:20 -0400)
committerSage Weil <sage@redhat.com>
Fri, 20 Mar 2020 20:40:12 +0000 (16:40 -0400)
commit0580297aff28dd8e22bfd1d922ef53dc9f34f805
tree05d401b02856cd4ffd20afdbaba2e22c248a2b66
parent0d04e85f4fc2a20e3359b33ea03e46c6e9bece7e
mgr/rook: refactor apply/add for rgw

A few caveats here:

- enforce that realm == zone, since that is all rook does at the moment.
- we force a (bad!) pool configuration, since rook requires that these
be present (instead of allowing radosgw or the caller to create the pools)

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/rook/module.py
src/pybind/mgr/rook/rook_cluster.py