- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
23 lines
723 B
Plaintext
23 lines
723 B
Plaintext
# Rook Ceph Storage Template (REAL from wuji)
|
|
# Extracted from wuji production: /workspace/infra/wuji/taskservs/rook-ceph.k
|
|
|
|
import taskservs.storage.rook_ceph.kcl.rook_ceph as rook_ceph
|
|
|
|
# Rook Ceph Node schema (from wuji)
|
|
schema RookCephNode {
|
|
name: str
|
|
devices: [str]
|
|
}
|
|
|
|
# Real wuji Rook Ceph configuration
|
|
_rook_ceph_taskserv = rook_ceph.RookCeph {
|
|
ceph_image = "quay.io/ceph/ceph:v18.2.4" # REAL: exact image from wuji
|
|
rookCeph_image = "rook/ceph:master" # REAL: rook image from wuji
|
|
nodes = [
|
|
{name = "wuji-strg-0", devices = ["vda3", "vda4"]} # REAL: node config
|
|
{name = "wuji-strg-1", devices = ["vda3", "vda4"]} # REAL: node config
|
|
]
|
|
}
|
|
|
|
_rook_ceph_taskserv
|