fix(lms): update ports (#4933)

This commit is contained in:
Stavros Kois
2022-11-29 01:35:15 +02:00
committed by GitHub
parent 107335bac0
commit 90087a71dc
5 changed files with 70 additions and 148 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/jenkins - https://github.com/truecharts/charts/tree/master/charts/incubator/jenkins
- https://hub.docker.com/r/jenkins/jenkins - https://hub.docker.com/r/jenkins/jenkins
type: application type: application
version: 2.0.1 version: 2.0.2
annotations: annotations:
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/catagories: | truecharts.org/catagories: |
+27 -55
View File
@@ -9,23 +9,23 @@ 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: JENKINS_JAVA_OPTS - variable: JENKINS_JAVA_OPTS
label: "JENKINS_JAVA_OPTS" label: JENKINS_JAVA_OPTS
description: "You might need to customize the JVM running Jenkins, typically to adjust system properties or tweak heap memory settings." description: You might need to customize the JVM running Jenkins, typically to adjust system properties or tweak heap memory settings.
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
@@ -33,49 +33,21 @@ 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: 10280 default: 10280
required: true required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: agent - variable: agent
label: "Agent Service" label: Agent Service
description: "Agent Service" description: Agent Service
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -83,14 +55,14 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: agent - variable: agent
label: "Agent Service Port Configuration" label: Agent 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: 50000 default: 50000
@@ -101,8 +73,8 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: data - variable: data
label: "App Data Storage" label: App Data Storage
description: "Stores the Application Data." description: Stores the Application Data.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -111,7 +83,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
@@ -123,41 +95,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: 1000 default: 1000
@@ -24,7 +24,7 @@ sources:
- https://github.com/Logitech/slimserver - https://github.com/Logitech/slimserver
- https://hub.docker.com/r/lmscommunity/logitechmediaserver - https://hub.docker.com/r/lmscommunity/logitechmediaserver
type: application type: application
version: 6.0.4 version: 6.1.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
@@ -11,8 +11,8 @@ questions:
# Include{containerConfig} # Include{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: Main Service
description: "Logitech Media Web UI and music streaming" description: Logitech Media Web UI and music streaming
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -20,21 +20,21 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Web Interface and music streaming port" label: Web Interface and music streaming port
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: 7000 default: 9000
required: true required: true
- variable: cli - variable: cli
label: "CLI Service" label: CLI Service
description: "Logitech Media Server Telnet Command Line Interface" description: Logitech Media Server Telnet Command Line Interface
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -42,35 +42,21 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: cli - variable: cli
label: "Port used for remote control using the Telnet Command Line interface" label: Port used for remote control using the Telnet Command Line interface
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "TCP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- 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: 10059 default: 9090
required: true required: true
- variable: playertcp - variable: playertcp
label: "Logitech Media Server Player TCP Communcation" label: Logitech Media Server Player TCP Communcation
description: "Logitech Media Server Player Service for TCP communication" description: Logitech Media Server Player Service for TCP communication
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -78,35 +64,21 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: slimprototcp - variable: slimprototcp
label: "Player to server TCP communication" label: Player to server TCP communication
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "TCP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- 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: 3483 default: 3483
required: true required: true
- variable: playerudp - variable: playerudp
label: "Logitech Media Server Player Communcation" label: Logitech Media Server Player Communcation
description: "Logitech Media Server Player Service for UDP communication" description: Logitech Media Server Player Service for UDP communication
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -114,28 +86,14 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: slimprotoudp - variable: slimprotoudp
label: "Player to server UDP communication" label: Player to server UDP communication
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "UDP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- 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: 3483 default: 3483
@@ -146,8 +104,8 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: config - variable: config
label: "App Config Storage" label: App Config Storage
description: "Stores the Application Configuration." description: Stores the Application Configuration.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -156,7 +114,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
@@ -168,41 +126,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
@@ -2,13 +2,9 @@ image:
repository: tccr.io/truecharts/logitechmediaserver repository: tccr.io/truecharts/logitechmediaserver
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: 8.4.0@sha256:a22d99d15cb5cba04746aa7be636635d6b7b036901db2d1fd99a222fd64b5551 tag: 8.4.0@sha256:a22d99d15cb5cba04746aa7be636635d6b7b036901db2d1fd99a222fd64b5551
env: env:
# Permissions Settings
HTTP_PORT: "{{ .Values.service.main.ports.main.port }}" HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
# Port to host the web service on. This will be the internal container port exposed and needs to be the same as the public service port.
# The main http port always has to be a 1:1 mapping between external and internal port.
# You can't just map it like -p 9002:9000, as Logitech Media Server is telling players on which port to connect.
# Therefore if you have to use a different http port for LMS (other than 9000) you'll have to set the HTTP_PORT environment variable
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
@@ -22,38 +18,34 @@ service:
main: main:
ports: ports:
main: main:
# Please note that the main http port always has to be a 1:1 mapping between external and internal port. port: 9000
# You can't just map it like -p 7000:9000, as Logitech Media Server is telling players on which port to connect.
# Therefore if you have to use a different http port for LMS (other than 9000) you'll have to set the HTTP_PORT environment variable
targetPort: 7000
port: 7000
cli: cli:
enabled: true enabled: true
ports: ports:
cli: cli:
enabled: true enabled: true
port: 9090
targetPort: 9090 targetPort: 9090
port: 10059
playertcp: playertcp:
enabled: true enabled: true
ports: ports:
slimprototcp: slimprototcp:
enabled: true enabled: true
targetPort: 3483
port: 3483 port: 3483
targetPort: 3483
playerudp: playerudp:
enabled: true enabled: true
ports: ports:
slimprotoudp: slimprotoudp:
enabled: true enabled: true
targetPort: 3483
port: 3483 port: 3483
protocol: UDP protocol: UDP
targetPort: 3483
persistence: persistence:
config: config:
enabled: true enabled: true
mountPath: "/config" mountPath: /config
portal: portal:
enabled: true enabled: true