mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 16:59:53 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 := . }}
|
||||
|
||||
@@ -29,6 +29,5 @@ service:
|
||||
primary: true
|
||||
port: {{ .Values.netbootNetwork.webHttpPort }}
|
||||
nodePort: {{ .Values.netbootNetwork.webHttpPort }}
|
||||
targetPort: 3000
|
||||
targetSelector: netboot
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
image:
|
||||
repository: netbootxyz/netbootxyz
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 0.7.0-nbxyz6
|
||||
tag: 0.7.1-nbxyz1
|
||||
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user