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-06 00:51:20 +02:00
committed by GitHub
co-authored by Stavros Kois
parent 62cc60614b
commit 1a5e4e7f2e
3 changed files with 23 additions and 40 deletions
+8 -7
View File
@@ -1,15 +1,11 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- Network-Other
apiVersion: v2 apiVersion: v2
appVersion: "latest" appVersion: "v1.6.0"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.0.4 version: 11.0.4
deprecated: false 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 home: https://truecharts.org/docs/charts/incubator/ps3netsrv
icon: https://truecharts.org/img/hotlink-ok/chart-icons/ps3netsrv.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/ps3netsrv.png
keywords: keywords:
@@ -26,4 +22,9 @@ sources:
- https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/ps3netsrv - https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/ps3netsrv
- https://hub.docker.com/r/shawly/ps3netsrv - https://hub.docker.com/r/shawly/ps3netsrv
type: application 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
+6 -25
View File
@@ -8,25 +8,6 @@ questions:
# Include{replicas} # Include{replicas}
# Include{replica1} # Include{replica1}
# Include{controllerExpertExtraArgs} # 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{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
@@ -56,9 +37,9 @@ questions:
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: gamesfolder - variable: games
label: "gamesfolder Storage" label: App Games Storage
description: "Container Path games" description: Stores the Application Games.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -97,20 +78,20 @@ questions:
label: "runAsNonRoot" label: "runAsNonRoot"
schema: schema:
type: boolean type: boolean
default: false default: true
# 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: 568
- 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: 568
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: "fsGroup"
description: "The group that should own ALL storage." description: "The group that should own ALL storage."
+9 -8
View File
@@ -1,17 +1,12 @@
env:
GROUP_ID: ""
USER_ID: ""
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/ps3netsrv repository: tccr.io/truecharts/ps3netsrv
tag: latest@sha256:200e6662a6e5e581ac0018b6e3dda69889e904585574315016f875bbd4476d45 tag: latest@sha256:200e6662a6e5e581ac0018b6e3dda69889e904585574315016f875bbd4476d45
persistence:
gamesfolder:
enabled: true
mountPath: /games
podSecurityContext: podSecurityContext:
runAsGroup: 0 runAsGroup: 0
runAsUser: 0 runAsUser: 0
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
@@ -20,8 +15,14 @@ service:
ports: ports:
main: main:
port: 38008 port: 38008
protocol: TCP protocol: HTTP
targetPort: 38008 targetPort: 38008
persistence:
games:
enabled: true
mountPath: /games
varrun:
enabled: true
portal: portal:
enabled: true enabled: true