mirror of
https://github.com/truenas/charts.git
synced 2026-02-12 06:46:32 +08:00
update questions and deployment, and fix tests
This commit is contained in:
@@ -102,6 +102,13 @@ questions:
|
||||
type: int
|
||||
required: true
|
||||
default: 0
|
||||
- variable: client_mtu
|
||||
label: Clients MTU
|
||||
description: The MTU the clients will use.
|
||||
schema:
|
||||
type: int
|
||||
required: true
|
||||
default: 1420
|
||||
- variable: client_address_range
|
||||
label: Clients IP Address Range
|
||||
description: Clients IP address range.
|
||||
|
||||
@@ -49,6 +49,7 @@ spec:
|
||||
{{ $envList = mustAppend $envList (dict "name" "PASSWORD" "value" $wgeasy.password) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "WG_PORT" "value" .Values.wgUDPPort) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "WG_PERSISTENT_KEEPALIVE" "value" $wgeasy.keep_alive) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "WG_MTU" "value" $wgeasy.client_mtu) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "WG_DEFAULT_ADDRESS" "value" $wgeasy.client_address_range) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "WG_DEFAULT_DNS" "value" $wgeasy.client_dns_server) }}
|
||||
{{ if $wgeasy.allowed_ips }}
|
||||
|
||||
@@ -12,11 +12,12 @@ emptyDirVolumes: true
|
||||
environmentVariables: []
|
||||
extraAppVolumeMounts: []
|
||||
hostNetwork: true
|
||||
wgUDPPort: 20290
|
||||
webUIPort: 20921
|
||||
wgUDPPort: 30290
|
||||
webUIPort: 30921
|
||||
wgeasy:
|
||||
host: wg.domain.com
|
||||
password: secret
|
||||
client_mtu: 1420
|
||||
keep_alive: 5
|
||||
client_address_range: 10.10.0.x
|
||||
client_dns_server: "8.8.8.8"
|
||||
|
||||
Reference in New Issue
Block a user