diff --git a/.taskfiles/template/resources/nodes.schema.cue b/.taskfiles/template/resources/nodes.schema.cue index 8e56fae5482..5dfe05b1fc8 100644 --- a/.taskfiles/template/resources/nodes.schema.cue +++ b/.taskfiles/template/resources/nodes.schema.cue @@ -15,13 +15,15 @@ import ( } #Node: { - name: =~"^[a-z0-9][a-z0-9\\-]{0,61}[a-z0-9]$|^[a-z0-9]$" & !="global" & !="controller" & !="worker" - address: net.IPv4 - controller: bool - disk: string - mac_addr: =~"^([0-9a-f]{2}[:]){5}([0-9a-f]{2})$" - schematic_id: =~"^[a-z0-9]{64}$" - mtu?: >=1450 & <=9000 + name: =~"^[a-z0-9][a-z0-9\\-]{0,61}[a-z0-9]$|^[a-z0-9]$" & !="global" & !="controller" & !="worker" + address: net.IPv4 + controller: bool + disk: string + mac_addr: =~"^([0-9a-f]{2}[:]){5}([0-9a-f]{2})$" + schematic_id: =~"^[a-z0-9]{64}$" + mtu?: >=1450 & <=9000 + secureboot?: bool + encrypt_disk?: bool } #Config