fix(ark survival evolved): correct some permission issues and remove crontab for now

This commit is contained in:
Kjeld Schouten
2025-05-05 21:50:54 +02:00
parent bfc40aa67d
commit d498502319
3 changed files with 12 additions and 29 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ name: arksurvivalevolved
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/arksurvivalevolved - https://github.com/truecharts/charts/tree/master/charts/stable/arksurvivalevolved
type: application type: application
version: 10.0.2 version: 10.0.3
+10 -27
View File
@@ -2,11 +2,17 @@ image:
repository: docker.io/drpsychick/arkserver repository: docker.io/drpsychick/arkserver
tag: latest-v1.6.62 tag: latest-v1.6.62
securityContext: securityContext:
pod:
fsGroup: 1001
container: container:
# runAsNonRoot: true runAsNonRoot: false
# readOnlyRootFilesystem: false
runAsUser: 1001 runAsUser: 1001
runAsGroup: 0 runAsGroup: 0
privileged: false
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
capabilities:
drop: []
service: service:
main: main:
enabled: true enabled: true
@@ -48,11 +54,11 @@ workload:
am_arkNoPortDecrement: "true" am_arkNoPortDecrement: "true"
am_arkGameIniFile: /arkconfig/Game.ini am_arkGameIniFile: /arkconfig/Game.ini
am_arkGameUserSettingsIniFile: /arkconfig/GameUserSettings.ini am_arkGameUserSettingsIniFile: /arkconfig/GameUserSettings.ini
ARKSERVER_SHARED: "{{ $.Values.persistence.game.mountPath | quote }}" ARKSERVER_SHARED: "{{ $.Values.persistence.game.mountPath }}"
am_ark_QueryPort: "{{ .Values.service.query.ports.query.port }}" am_ark_QueryPort: "{{ .Values.service.query.ports.query.port }}"
am_ark_Port: "{{ .Values.service.main.ports.main.port }}" am_ark_Port: "{{ .Values.service.main.ports.main.port }}"
am_ark_RCONPort: "{{ .Values.service.rcon.ports.rcon.port }}" am_ark_RCONPort: "{{ .Values.service.rcon.ports.rcon.port }}"
am_ark_GameModIds: '{{ join "," .Values.ark.mods | quote }}' am_ark_GameModIds: '{{ join "," .Values.ark.mods }}'
## Free RealEstate ## Free RealEstate
ARKCLUSTER: "true" ARKCLUSTER: "true"
@@ -98,14 +104,6 @@ persistence:
type: configmap type: configmap
objectName: gameinis objectName: gameinis
mountPath: /arkconfig mountPath: /arkconfig
crontab:
enabled: true
type: configmap
objectName: gameinis
mountPath: /ark/config/crontab
items:
- key: "crontab"
path: "crontab"
configmap: configmap:
gameinis: gameinis:
@@ -205,18 +203,3 @@ configmap:
[/Game/PrimalEarth/CoreBlueprints/TestGameMode.TestGameMode_C] [/Game/PrimalEarth/CoreBlueprints/TestGameMode.TestGameMode_C]
bServerGameLogEnabled=True bServerGameLogEnabled=True
crontab: |
## Example of job definition:
## .---------------- minute (0 - 59)
## | .------------- hour (0 - 23)
## | | .---------- day of month (1 - 31)
## | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
## | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
## | | | | |
## * * * * * user-name command to be executed
## Examples for arkmanager:
# 0 * * * * arkmanager update --update-mods --warn --saveworld # check for updates every hour
# */15 * * * * arkmanager saveworld && arkmanager backup # backup every 15min
# 0 0 * * * arkmanager restart --warn --saveworld # restart every day at midnight
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: arksurvivalevolved chart: arksurvivalevolved
version: 10.0.2 version: 10.0.3
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: truecharts name: truecharts