fix(ps3netsrv) code cleanup, perms, persistence. (#4666)

* fix(ps3netsrv) code cleanup, perms, persistence.

* add probes

* ronfs false

* Update charts/incubator/ps3netsrv/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* Apply suggestions from code review

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* Update charts/incubator/ps3netsrv/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* Update charts/incubator/ps3netsrv/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* Update charts/incubator/ps3netsrv/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97
2022-12-05 17:51:20 -05:00
committed by GitHub
parent 62cc60614b
commit 1a5e4e7f2e
3 changed files with 23 additions and 40 deletions

View File

@@ -1,15 +1,11 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- Network-Other
apiVersion: v2
appVersion: "latest"
appVersion: "v1.6.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.4
deprecated: false
description: "PS3netsrv is a program that allows Multiman or Webman to play game backups that are stored on your TrueNAS server. [span style='color: #E80000;']THIS IS IN BETA AND HAS REPORTED ISSUES with TrueNAS 6.8.0 and higher.[/span][br][br]\n"
description: Allows Multiman or Webman to play game backups.
home: https://truecharts.org/docs/charts/incubator/ps3netsrv
icon: https://truecharts.org/img/hotlink-ok/chart-icons/ps3netsrv.png
keywords:
@@ -26,4 +22,9 @@ sources:
- https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/ps3netsrv
- https://hub.docker.com/r/shawly/ps3netsrv
type: application
version: 2.0.4
version: 2.0.2
annotations:
truecharts.org/catagories: |
- Network-Other
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@@ -8,25 +8,6 @@ questions:
# Include{replicas}
# Include{replica1}
# Include{controllerExpertExtraArgs}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: USER_ID
label: "USER_ID"
description: "UID for permissions. Do not change unless you know what youre doing."
schema:
type: string
default: ""
- variable: GROUP_ID
label: "GROUP_ID"
description: "GID for permissions. Do not change unless you know what youre doing."
schema:
type: string
default: ""
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
@@ -56,9 +37,9 @@ questions:
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: gamesfolder
label: "gamesfolder Storage"
description: "Container Path games"
- variable: games
label: App Games Storage
description: Stores the Application Games.
schema:
additional_attrs: true
type: dict
@@ -97,20 +78,20 @@ questions:
label: "runAsNonRoot"
schema:
type: boolean
default: false
default: true
# Include{podSecurityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 0
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."

View File

@@ -1,17 +1,12 @@
env:
GROUP_ID: ""
USER_ID: ""
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/ps3netsrv
tag: latest@sha256:200e6662a6e5e581ac0018b6e3dda69889e904585574315016f875bbd4476d45
persistence:
gamesfolder:
enabled: true
mountPath: /games
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
@@ -20,8 +15,14 @@ service:
ports:
main:
port: 38008
protocol: TCP
protocol: HTTP
targetPort: 38008
persistence:
games:
enabled: true
mountPath: /games
varrun:
enabled: true
portal:
enabled: true