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

This commit is contained in:
StevenMcElligott
2022-11-18 00:59:39 +02:00
committed by GitHub
parent e5e4cfca00
commit ef438e30e1
3 changed files with 47 additions and 50 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ sources:
- https://github.com/orgs/linuxserver/packages/container/package/webtop - https://github.com/orgs/linuxserver/packages/container/package/webtop
- https://github.com/linuxserver/docker-webtop#readme - https://github.com/linuxserver/docker-webtop#readme
type: application type: application
version: 2.0.1 version: 3.0.0
+25 -31
View File
@@ -9,35 +9,29 @@ questions:
# Include{replica1} # Include{replica1}
# Include{controllerExpertExtraArgs} # Include{controllerExpertExtraArgs}
- variable: env - variable: env
group: "App Configuration" group: App Configuration
label: "Image Environment" label: Image Environment
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: SUBFOLDER - variable: SUBFOLDER
label: "SUBFOLDER" label: SUBFOLDER
description: "Specify a subfolder to use with reverse proxies, IE `subfolder`" description: Specify a subfolder to use with reverse proxies, IE `subfolder`
schema: schema:
type: string type: string
default: "" default: ""
- variable: KEYBOARD - variable: KEYBOARD
label: "KEYBOARD" label: KEYBOARD
description: "See the keyboard layouts section for more information and options." description: See the keyboard layouts section for more information and options.
schema:
type: string
default: ""
- variable: UMASK
label: "UMASK"
description: "Container Variable UMASK"
schema: schema:
type: string type: string
default: "" default: ""
# Include{containerConfig} # Include{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: Main Service
description: "The Primary service on which the healthcheck runs, often the webUI" description: The Primary service on which the healthcheck runs, often the webUI
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -45,17 +39,17 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Main Service Port Configuration" label: Main Service Port Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
description: "This port exposes the container port on the service" description: This port exposes the container port on the service
schema: schema:
type: int type: int
default: 3000 default: 33000
required: true required: true
# Include{serviceExpertRoot} # Include{serviceExpertRoot}
default: false default: false
@@ -63,8 +57,8 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: config - variable: config
label: "config Storage" label: config Storage
description: "abc users home directory" description: abc users home directory
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -73,7 +67,7 @@ questions:
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot} # Include{ingressRoot}
- variable: main - variable: main
label: "Main Ingress" label: Main Ingress
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -85,41 +79,41 @@ questions:
# Include{security} # Include{security}
# Include{securityContextAdvancedRoot} # Include{securityContextAdvancedRoot}
- variable: privileged - variable: privileged
label: "Privileged mode" label: Privileged mode
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: readOnlyRootFilesystem - variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem" label: ReadOnly Root Filesystem
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: allowPrivilegeEscalation - variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation" label: Allow Privilege Escalation
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: runAsNonRoot - variable: runAsNonRoot
label: "runAsNonRoot" label: runAsNonRoot
schema: schema:
type: boolean type: boolean
default: false default: false
# Include{podSecurityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: The groupID this App of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
+21 -18
View File
@@ -1,29 +1,32 @@
env:
KEYBOARD: ""
SUBFOLDER: ""
UMASK: ""
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/webtop repository: tccr.io/truecharts/webtop
tag: latest@sha256:cafa6b241a660b291df8e901d37e9b1a0ff0d9db2224a16ee886365d54b5fd73 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: persistence:
config: config:
enabled: true enabled: true
mountPath: /config mountPath: /config
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
service:
main:
ports:
main:
port: 3000
protocol: TCP
targetPort: 3000
portal: portal:
enabled: true enabled: true