cluster/kube: refactor rook.io object store configuration
diff --git a/cluster/kube/cluster.jsonnet b/cluster/kube/cluster.jsonnet
index a57c897..a4d8680 100644
--- a/cluster/kube/cluster.jsonnet
+++ b/cluster/kube/cluster.jsonnet
@@ -122,8 +122,7 @@
},
},
},
- cephWaw1Object: kube._Object("ceph.rook.io/v1", "CephObjectStore", "waw-hdd-redundant-1-object") {
- metadata+: cluster.cephWaw1.metadata,
+ cephWaw1Object: rook.S3ObjectStore(cluster.cephWaw1, "waw-hdd-redundant-1-object") {
spec: {
metadataPool: {
failureDomain: "host",
@@ -136,13 +135,6 @@
codingChunks: 1,
},
},
- gateway: {
- type: "s3",
- port: 80,
- #securePort:
- instances: 1,
- allNodes: false,
- },
},
},
};