Publish new changes in catalog

This commit is contained in:
sonicaj
2024-05-03 09:17:52 +00:00
parent 9520ccc731
commit 9f4b7993fd
19 changed files with 15 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ description: WG-Easy is the easiest way to install & manage WireGuard!
annotations:
title: WG Easy
type: application
version: 2.0.16
version: 2.0.17
apiVersion: v2
appVersion: '12'
kubeVersion: '>=1.16.0-0'

View File

@@ -19,6 +19,7 @@ wgNetwork:
wgConfig:
host: ''
externalPort: 51820
password: ''
keepAlive: 0
clientMTU: 1420

View File

@@ -78,6 +78,8 @@ def migrate(values):
if not 'wgeasy' in values.keys():
return values
if not values['wgConfig'].get('externalPort', None):
values['wgConfig']['externalPort'] = values['wgNetwork'].get('udpPort', 30057)
return migrate_common_lib(values)

View File

@@ -98,6 +98,15 @@ questions:
required: true
$ref:
- "definitions/nodeIP"
- variable: externalPort
label: Port for Client Configuration
description: |
The port accessible from the clients.</br>
This is ONLY used on the client configuration generation in the "Endpoint" field.
schema:
type: int
required: true
default: 51820
- variable: password
label: Password for WebUI
description: When set, requires a password when logging in to the Web UI.
@@ -435,7 +444,7 @@ questions:
schema:
type: string
max_length: 12
valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
valid_chars_error: |
Valid Memory limit formats are</br>
- Suffixed with E/P/T/G/M/K - eg. 1G</br>

View File

@@ -23,7 +23,7 @@ workload:
- NET_RAW
- SYS_MODULE
env:
WG_PORT: {{ .Values.wgNetwork.udpPort }}
WG_PORT: {{ .Values.wgConfig.externalPort }}
WG_PATH: /etc/wireguard
PORT: {{ .Values.wgNetwork.webPort }}
WG_HOST: {{ .Values.wgConfig.host | quote }}