29 lines
667 B
Text
29 lines
667 B
Text
|
|
# External NFS taskserv contracts
|
||
|
|
# Defines validation rules for external NFS configuration
|
||
|
|
|
||
|
|
let _concerns_lib = import "schemas/lib/concerns.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
ExternalNFS = {
|
||
|
|
ip
|
||
|
|
| String
|
||
|
|
| doc "NFS server IP address (variable or IPv4)"
|
||
|
|
| default = "{{network_private_ip}}",
|
||
|
|
|
||
|
|
net
|
||
|
|
| String
|
||
|
|
| doc "NFS network CIDR to share (variable or CIDR notation)"
|
||
|
|
| default = "$net",
|
||
|
|
|
||
|
|
shared
|
||
|
|
| String
|
||
|
|
| doc "NFS share path on the server"
|
||
|
|
| default = "/shared",
|
||
|
|
|
||
|
|
# ServiceConcerns umbrella (ADR-008). NFS server — infrastructure_glue preset.
|
||
|
|
concerns | _concerns_lib.ServiceConcerns | optional,
|
||
|
|
|
||
|
|
..
|
||
|
|
},
|
||
|
|
}
|