Преглед изворни кода

netboot.xyz - WEB_APP_PORT to configure the web application to the correct port. (#2129)

* in.tftpd needs chroot to spawn child processes.

* Bump version number.

* Fixes #2104 - Make the nbxyz version numbers look like semantic versions.

* Match defaults in questions.yaml

* Bump version number.

* Bump version.

* Fix app version.

* Mark executable

* Use WEB_APP_PORT to bind the portal URL to the right port.

* Don't hide the port configuration when hostNetwork is enabled.

* Bump version number.
Kelly Shutt пре 1 година
родитељ
комит
fe57f79674

+ 2 - 2
library/ix-dev/community/netbootxyz/Chart.yaml

@@ -4,9 +4,9 @@ description: netboot.xyz lets you PXE boot various operating system installers o
 annotations:
   title: netbootxyz
 type: application
-version: 1.0.3
+version: 1.0.4
 apiVersion: v2
-appVersion: 0.7.0.6
+appVersion: 0.7.1.1
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 0 - 1
library/ix-dev/community/netbootxyz/questions.yaml

@@ -99,7 +99,6 @@ questions:
           label: Portal HTTP Port
           description: The HTTP port for the netboot.xyz Portal.
           schema:
-            show_if: [["hostNetwork", "=", false]]
             type: int
             default: 31010
             min: 9000

+ 1 - 0
library/ix-dev/community/netbootxyz/templates/_netboot.tpl

@@ -29,6 +29,7 @@ workload:
           env:
             NGINX_PORT: {{ .Values.netbootNetwork.webAssetsPort }}
             TFTPD_OPTS: {{ join " " .Values.netbootConfig.tftpdOpts }}
+            WEB_APP_PORT: {{ .Values.netbootNetwork.webHttpPort }}
           {{ with .Values.netbootConfig.additionalEnvs }}
           envList:
             {{ range $env := . }}

+ 0 - 1
library/ix-dev/community/netbootxyz/templates/_service.tpl

@@ -29,6 +29,5 @@ service:
         primary: true
         port: {{ .Values.netbootNetwork.webHttpPort }}
         nodePort: {{ .Values.netbootNetwork.webHttpPort }}
-        targetPort: 3000
         targetSelector: netboot
 {{- end -}}

+ 1 - 1
library/ix-dev/community/netbootxyz/values.yaml

@@ -1,7 +1,7 @@
 image:
   repository: netbootxyz/netbootxyz
   pullPolicy: IfNotPresent
-  tag: 0.7.0-nbxyz6
+  tag: 0.7.1-nbxyz1
 
 resources:
   limits: