Chore(stable): BREAKING CHANGE migrate to new common part 2 (#7992)

**Description**
See: https://github.com/truecharts/charts/pull/7900

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [x] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [x] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Kjeld Schouten-Lebbing
2023-04-14 18:11:04 +02:00
committed by GitHub
parent ad3c093b8a
commit 278904bff0
299 changed files with 4603 additions and 4665 deletions
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "1.4.6"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.4.9
deprecated: false
description: Satisfactory Dedicated Server
home: https://truecharts.org/charts/stable/satisfactory
@@ -20,9 +20,8 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/satisfactory
- https://github.com/wolveix/satisfactory-server
type: application
version: 4.0.15
version: 5.0.0
annotations:
truecharts.org/catagories: |
- games
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+69 -68
View File
@@ -8,69 +8,70 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: AUTOPAUSE
label: "Enable/Disable Auto pause"
schema:
type: boolean
default: true
- variable: AUTOSAVEINTERVAL
label: "Auto save interval"
schema:
type: int
required: true
default: 300
- variable: AUTOSAVENUM
label: "Number of auto saves"
schema:
type: int
required: true
default: 3
- variable: AUTOSAVEONDISCONNECT
label: "Auto save on Disconnect"
schema:
type: boolean
default: true
- variable: CRASHREPORT
label: "Crash report"
schema:
type: boolean
default: true
- variable: DEBUG
label: "Debug"
schema:
type: boolean
default: false
- variable: DISABLESEASONALEVENTS
label: "Disable seasonal events"
schema:
type: boolean
default: false
- variable: MAXPLAYERS
label: "Max players"
schema:
type: int
required: true
default: 4
- variable: SKIPUPDATE
label: "Skip update"
schema:
type: boolean
default: false
- variable: STEAMBETA
label: "Steam beta"
schema:
type: boolean
default: false
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: AUTOPAUSE
label: "Enable/Disable Auto pause"
schema:
type: boolean
default: true
- variable: AUTOSAVEINTERVAL
label: "Auto save interval"
schema:
type: int
required: true
default: 300
- variable: AUTOSAVENUM
label: "Number of auto saves"
schema:
type: int
required: true
default: 3
- variable: AUTOSAVEONDISCONNECT
label: "Auto save on Disconnect"
schema:
type: boolean
default: true
- variable: CRASHREPORT
label: "Crash report"
schema:
type: boolean
default: true
- variable: DEBUG
label: "Debug"
schema:
type: boolean
default: false
- variable: DISABLESEASONALEVENTS
label: "Disable seasonal events"
schema:
type: boolean
default: false
- variable: MAXPLAYERS
label: "Max players"
schema:
type: int
required: true
default: 4
- variable: SKIPUPDATE
label: "Skip update"
schema:
type: boolean
default: false
- variable: STEAMBETA
label: "Steam beta"
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
@@ -161,16 +162,16 @@ questions:
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+38 -39
View File
@@ -2,43 +2,17 @@ image:
repository: tccr.io/truecharts/satisfactory
pullPolicy: IfNotPresent
tag: 1.4.6@sha256:d7b8109b32c61e8e474c287053a734724da1d13b2c802b7d1e491629b74e097f
env:
AUTOPAUSE: true
AUTOSAVEINTERVAL: 300
AUTOSAVENUM: 3
AUTOSAVEONDISCONNECT: true
CRASHREPORT: true
DEBUG: false
DISABLESEASONALEVENTS: false
MAXPLAYERS: 4
SERVERBEACONPORT: "{{ .Values.service.beacon.ports.beacon.targetPort }}"
SERVERGAMEPORT: "{{ .Values.service.main.ports.main.targetPort }}"
SERVERIP: "0.0.0.0"
SERVERQUERYPORT: "{{ .Values.service.query.ports.query.targetPort }}"
SKIPUPDATE: false
STEAMBETA: false
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
persistence:
config:
enabled: true
mountPath: "/config"
service:
main:
ports:
main:
targetPort: 7777
port: 7777
protocol: UDP
protocol: udp
beacon:
enabled: true
ports:
@@ -46,7 +20,7 @@ service:
enabled: true
port: 15000
targetPort: 15000
protocol: UDP
protocol: udp
query:
enabled: true
ports:
@@ -54,15 +28,40 @@ service:
enabled: true
port: 15777
targetPort: 15777
protocol: UDP
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
protocol: udp
portal:
enabled: false
open:
enabled: false
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
AUTOPAUSE: true
AUTOSAVEINTERVAL: 300
AUTOSAVENUM: 3
AUTOSAVEONDISCONNECT: true
CRASHREPORT: true
DEBUG: false
DISABLESEASONALEVENTS: false
MAXPLAYERS: 4
SERVERBEACONPORT: "{{ .Values.service.beacon.ports.beacon.targetPort }}"
SERVERGAMEPORT: "{{ .Values.service.main.ports.main.targetPort }}"
SERVERIP: "0.0.0.0"
SERVERQUERYPORT: "{{ .Values.service.query.ports.query.targetPort }}"
SKIPUPDATE: false
STEAMBETA: false