add a backend type to the cluster crd
This commit is contained in:
1 parent
4c47adc80a
commit
bd3263f7d8
2 files changed
+5
No files matched your search
@@ -9,6 +9,8 @@ metadata:
|
||||
name: rook
|
||||
namespace: rook
|
||||
spec:
|
||||
# the storage backend (only ceph is currently implemented)
|
||||
backend: ceph
|
||||
# The path on the host where configuration files will be persisted. If not specified, a kubernetes emptyDir will be created (not recommended).
|
||||
# Important: if you reinstall the cluster, make sure you delete this directory from each host or else the mons will fail to start on the new cluster.
|
||||
# In Minikube, the '/data' directory is configured to persist across reboots. Use "/data/rook" in Minikube environment.
|
||||
|
||||
@@ -45,6 +45,9 @@ type ClusterList struct {
|
||||
}
|
||||
|
||||
type ClusterSpec struct {
|
||||
// The type of backend for the cluster (only "ceph" is implemented)
|
||||
Backend string `json:"backend"`
|
||||
|
||||
// The path on the host where config and data can be persisted.
|
||||
DataDirHostPath string `json:"dataDirHostPath"`
|
||||
|
||||
|
||||
Reference in new issue
Block a user