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.
This commit is contained in:
Kelly Shutt
2024-02-06 05:02:12 -05:00
committed by GitHub
parent a1c210bb8b
commit fe57f79674
5 changed files with 4 additions and 5 deletions

View File

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

View File

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

View File

@@ -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 := . }}

View File

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

View File

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