You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5.Implement `/v1/nodes` reading from CRD store; tests against golinstor `Nodes.GetAll/Get/Create/Modify/Delete`.
30
+
-**Next concrete steps** (Phase 2):
31
+
1.`kubebuilder create api --group blockstor.io --version v1 --kind Node` and same for `StoragePool`. Generate DeepCopy + CRD manifests.
32
+
2.Add `pkg/store/k8s` — implementation of `store.Store` backed by `controller-runtime` client. Same interface as InMemory; identical test suite (table-driven so we can reuse) must pass against an envtest.
33
+
3.Wire a flag in `cmd/main.go`to choose between InMemory and k8s store (default k8s; InMemory is for tests).
34
+
4.Reconciler stubs for Node and StoragePool (no-op for now; just make sure manager + scheme + leader-election work).
35
+
5.Continue per `docs/csi-api-surface.md`: `/v1/resource-groups` (linstor-csi creates one per StorageClass), then `/v1/resource-definitions`, then `/v1/view/resources`.
0 commit comments