mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 17:52:13 +08:00
Add static ip options
This commit is contained in:
@@ -123,3 +123,37 @@
|
||||
enum:
|
||||
- "dhcp"
|
||||
- "static"
|
||||
show_subquestions_if: "static"
|
||||
subquestions:
|
||||
- variable: staticIPConfigurations
|
||||
label: "Static IP Addresses"
|
||||
schema:
|
||||
type: list
|
||||
items:
|
||||
- variable: staticIP
|
||||
label: "Static IP"
|
||||
schema:
|
||||
type: ipaddr
|
||||
cidr: true
|
||||
- variable: staticRoutes
|
||||
label: "Static Routes"
|
||||
schema:
|
||||
type: list
|
||||
items:
|
||||
- variable: staticRouteConfiguration
|
||||
label: "Static Route Configuration"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: destination
|
||||
label: "Destination"
|
||||
schema:
|
||||
type: ipaddr
|
||||
cidr: true
|
||||
required: true
|
||||
- variable: gateway
|
||||
label: "Gateway"
|
||||
schema:
|
||||
type: ipaddr
|
||||
cidr: false
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user