Files
truecharts/charts/stable/spaceengineers/values.yaml
T
TrueCharts Bot 0ba06a61ec chore(helm): update image docker.io/devidian/spaceengineers digest to 15bd1ff (#28327)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/devidian/spaceengineers | digest | `46ab517` -> `15bd1ff` |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzAuNCIsInVwZGF0ZWRJblZlciI6IjM4LjEzMC40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvZGlnZXN0Il19-->
2024-10-25 20:27:37 +02:00

94 lines
2.9 KiB
YAML

image:
pullPolicy: IfNotPresent
repository: docker.io/devidian/spaceengineers
tag: latest@sha256:15bd1fff0d524dbfbb6cfd50c9d64deec57e778d9bf86598275f28427bfaa7a9
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
protocol: udp
port: 27017
steam:
enabled: true
ports:
steam:
protocol: udp
enabled: true
port: 27018
api:
enabled: true
ports:
api:
protocol: http
enabled: true
port: 18080
spaceengineers:
instance_name: "TestInstance"
public_ip: "1.2.3.4"
workload:
main:
podSpec:
containers:
main:
lifecycle:
postStart:
type: exec
command:
- /bin/sh
- -c
- |
INSTANCE_NAME="{{ .Values.spaceengineers.instance_name }}"
CONFIG_PATH="{{ .Values.persistence.instances.mountPath }}/$INSTANCE_NAME/SpaceEngineers-Dedicated.cfg"
# Define the new values for the port-related options
ServerPort="{{ .Values.service.main.ports.main.port }}"
SteamPort="{{ .Values.service.steam.ports.steam.port }}"
RemoteApiPort="{{ .Values.service.api.ports.api.port }}"
# Check if the configuration file exists
if [ -f "$CONFIG_PATH" ]; then
# Update the XML file with the new values using sed
sed -i "s/<SteamPort>[0-9]*<\/SteamPort>/<SteamPort>$SteamPort<\/SteamPort>/" "$CONFIG_PATH"
sed -i "s/<ServerPort>[0-9]*<\/ServerPort>/<ServerPort>$ServerPort<\/ServerPort>/" "$CONFIG_PATH"
sed -i "s/<RemoteApiPort>[0-9]*<\/RemoteApiPort>/<RemoteApiPort>$RemoteApiPort<\/RemoteApiPort>/" "$CONFIG_PATH"
echo "Port-related options updated for instance $INSTANCE_NAME:"
echo "SteamPort: $SteamPort"
echo "ServerPort: $ServerPort"
echo "RemoteApiPort: $RemoteApiPort"
else
echo "Configuration file not found. Please create it manually or check the path: $CONFIG_PATH"
fi
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
INSTANCE_NAME: "{{ .Values.spaceengineers.instance_name }}"
PUBLIC_IP: "{{ .Values.spaceengineers.public_ip }}"
persistence:
steamcmd:
enabled: true
mountPath: /root/.steam
plugins:
enabled: true
mountPath: /appdata/space-engineers/plugins
serverfiles:
enabled: true
mountPath: /appdata/space-engineers/SpaceEngineersDedicated
instances:
enabled: true
mountPath: /appdata/space-engineers/instances
portal:
open:
enabled: false