cluster/nix: k0: enable rgw on osds

This enables radosgw wherever osds are. This should be fast and works
for us because we have little osd hosts.

Change-Id: I4ed014d2790d6c02a2ba8e775aaa1846032dee1e
This commit is contained in:
q3k 2021-09-12 22:09:48 +00:00
parent 085a8ff247
commit 18084c1e86

View file

@ -51,6 +51,10 @@ let
enable = true;
daemons = map (el: "${toString el.id}") cephCluster.osds.${machineName};
};
rgw = {
enable = true;
daemons = [ "rook-k0.rgw.${machineName}" ];
};
} else {};
# The full option fragment for services.ceph. It contains ceph.conf fragments