20 lines
637 B
Text
20 lines
637 B
Text
let _concerns_lib = import "schemas/lib/concerns.ncl" in
|
|
|
|
{
|
|
LonghornNodePrep = {
|
|
data_path
|
|
| String
|
|
| doc "Absolute path where the Longhorn data volume is mounted (must match vol_prepare mount_path)"
|
|
| default = "/var/lib/longhorn",
|
|
|
|
node_labels
|
|
| { _ | String }
|
|
| doc "Labels applied to this node via kubectl — signals Longhorn to use it as a storage node"
|
|
| default = { "node.longhorn.io/create-default-disk" = "true" },
|
|
|
|
# ServiceConcerns umbrella (ADR-008). Node-level prep for Longhorn — stateless preset.
|
|
concerns | _concerns_lib.ServiceConcerns | optional,
|
|
|
|
..
|
|
},
|
|
}
|