瀏覽代碼

wg-easy: dont show udp port when host net is enabled (#2392)

Stavros Kois 1 年之前
父節點
當前提交
fc155b589b
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      library/ix-dev/charts/wg-easy/Chart.yaml
  2. 1 0
      library/ix-dev/charts/wg-easy/questions.yaml

+ 1 - 1
library/ix-dev/charts/wg-easy/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.15
+version: 2.0.16
 apiVersion: v2
 appVersion: '12'
 kubeVersion: '>=1.16.0-0'

+ 1 - 0
library/ix-dev/charts/wg-easy/questions.yaml

@@ -35,6 +35,7 @@ questions:
             default: 30057
             min: 9000
             max: 65535
+            show_if: [["hostNetwork", "=", false]]
             required: true
         - variable: webPort
           label: Web Port