소스 검색

Publish new changes in catalog

sonicaj 1 년 전
부모
커밋
9f4b7993fd

+ 0 - 0
charts/wg-easy/2.0.16/.helmignore → charts/wg-easy/2.0.17/.helmignore


+ 0 - 0
charts/wg-easy/2.0.16/Chart.lock → charts/wg-easy/2.0.17/Chart.lock


+ 1 - 1
charts/wg-easy/2.0.16/Chart.yaml → charts/wg-easy/2.0.17/Chart.yaml

@@ -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'

+ 0 - 0
charts/wg-easy/2.0.16/README.md → charts/wg-easy/2.0.17/README.md


+ 0 - 0
charts/wg-easy/2.0.16/app-readme.md → charts/wg-easy/2.0.17/app-readme.md


+ 0 - 0
charts/wg-easy/2.0.16/charts/common-1.2.9.tgz → charts/wg-easy/2.0.17/charts/common-1.2.9.tgz


+ 0 - 0
charts/wg-easy/2.0.16/ci/test-values.yaml → charts/wg-easy/2.0.17/ci/test-values.yaml


+ 1 - 0
charts/wg-easy/2.0.16/ix_values.yaml → charts/wg-easy/2.0.17/ix_values.yaml

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

+ 0 - 0
charts/wg-easy/2.0.16/metadata.yaml → charts/wg-easy/2.0.17/metadata.yaml


+ 2 - 0
charts/wg-easy/2.0.16/migrations/migrate → charts/wg-easy/2.0.17/migrations/migrate

@@ -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)
 

+ 10 - 1
charts/wg-easy/2.0.16/questions.yaml → charts/wg-easy/2.0.17/questions.yaml

@@ -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>

+ 0 - 0
charts/wg-easy/2.0.16/templates/NOTES.txt → charts/wg-easy/2.0.17/templates/NOTES.txt


+ 0 - 0
charts/wg-easy/2.0.16/templates/_migration.tpl → charts/wg-easy/2.0.17/templates/_migration.tpl


+ 0 - 0
charts/wg-easy/2.0.16/templates/_persistence.tpl → charts/wg-easy/2.0.17/templates/_persistence.tpl


+ 0 - 0
charts/wg-easy/2.0.16/templates/_portal.tpl → charts/wg-easy/2.0.17/templates/_portal.tpl


+ 0 - 0
charts/wg-easy/2.0.16/templates/_service.tpl → charts/wg-easy/2.0.17/templates/_service.tpl


+ 1 - 1
charts/wg-easy/2.0.16/templates/_wgeasy.tpl → charts/wg-easy/2.0.17/templates/_wgeasy.tpl

@@ -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 }}

+ 0 - 0
charts/wg-easy/2.0.16/templates/common.yaml → charts/wg-easy/2.0.17/templates/common.yaml


+ 0 - 0
charts/wg-easy/2.0.16/to_keep_versions.md → charts/wg-easy/2.0.17/to_keep_versions.md