feat(Webtop): Fix Port/Minor Cleanup (#4525)

This commit is contained in:
StevenMcElligott 2022-11-17 17:59:39 -05:00 committed by GitHub
parent e5e4cfca00
commit ef438e30e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 50 deletions

View File

@ -27,4 +27,4 @@ sources:
- https://github.com/orgs/linuxserver/packages/container/package/webtop
- https://github.com/linuxserver/docker-webtop#readme
type: application
version: 2.0.1
version: 3.0.0

View File

@ -9,35 +9,29 @@ questions:
# Include{replica1}
# Include{controllerExpertExtraArgs}
- variable: env
group: "App Configuration"
label: "Image Environment"
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: SUBFOLDER
label: "SUBFOLDER"
description: "Specify a subfolder to use with reverse proxies, IE `subfolder`"
label: SUBFOLDER
description: Specify a subfolder to use with reverse proxies, IE `subfolder`
schema:
type: string
default: ""
- variable: KEYBOARD
label: "KEYBOARD"
description: "See the keyboard layouts section for more information and options."
schema:
type: string
default: ""
- variable: UMASK
label: "UMASK"
description: "Container Variable UMASK"
label: KEYBOARD
description: See the keyboard layouts section for more information and options.
schema:
type: string
default: ""
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
@ -45,17 +39,17 @@ questions:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 3000
default: 33000
required: true
# Include{serviceExpertRoot}
default: false
@ -63,8 +57,8 @@ questions:
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: "config Storage"
description: "abc users home directory"
label: config Storage
description: abc users home directory
schema:
additional_attrs: true
type: dict
@ -73,7 +67,7 @@ questions:
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
label: Main Ingress
schema:
additional_attrs: true
type: dict
@ -85,41 +79,41 @@ questions:
# Include{security}
# Include{securityContextAdvancedRoot}
- variable: privileged
label: "Privileged mode"
label: Privileged mode
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
label: ReadOnly Root Filesystem
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
label: Allow Privilege Escalation
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
label: runAsNonRoot
schema:
type: boolean
default: false
# Include{podSecurityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568

View File

@ -1,29 +1,32 @@
env:
KEYBOARD: ""
SUBFOLDER: ""
UMASK: ""
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/webtop
tag: latest@sha256:cafa6b241a660b291df8e901d37e9b1a0ff0d9db2224a16ee886365d54b5fd73
env:
KEYBOARD: ""
SUBFOLDER: ""
CUSTOM_PORT: "{{ .Values.service.main.ports.main.port }}"
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
service:
main:
ports:
main:
port: 33000
protocol: HTTP
persistence:
config:
enabled: true
mountPath: /config
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
service:
main:
ports:
main:
port: 3000
protocol: TCP
targetPort: 3000
portal:
enabled: true