feat(steam-headless) add steam-headless (#9848)

**Description**
A Headless Steam chart.
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [X] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 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:**
App may require host-networking.

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ 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:
Xstar97TheNoob
2023-07-14 10:57:39 +02:00
committed by GitHub
parent a48cfbc7f0
commit b66adb78cc
9 changed files with 330 additions and 0 deletions
@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png
@@ -0,0 +1 @@
# Changelog
@@ -0,0 +1,28 @@
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.14.2
deprecated: false
description: A Headless Steam chart.
home: https://truecharts.org/charts/incubator/steam-headless
icon: https://truecharts.org/img/hotlink-ok/chart-icons/steam-headless.png
keywords:
- steam-headless
- games
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: steam-headless
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/steam-headless
- https://github.com/Steam-Headless/docker-steam-headless
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- games
truecharts.org/SCALE-support: "true"
@@ -0,0 +1 @@
# README
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@@ -0,0 +1,207 @@
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: USER_PASSWORD
label: "User Password"
schema:
type: string
private: true
default: ""
- variable: MODE
label: "Mode"
description: "Configures the container to not start an X server of its own if set to secondary mode."
schema:
type: string
required: true
default: "primary"
enum:
- value: "primary"
description: "Primary"
- value: "secondary"
description: "Secondary"
- variable: DISPLAY
label: "Display"
description: "Configures the screen to use the primary display."
schema:
type: string
default: ":0"
show_if: [[MODE, "=", "secondary"]]
- variable: HOST_DBUS
label: "Host DBus"
description: "Configures the container to use the host DBus process."
schema:
type: boolean
default: false
show_if: [[MODE, "=", "secondary"]]
- variable: WEB_UI_MODE
label: "Web UI Mode"
description: "Enables audio over for the VNC Web UI."
schema:
type: string
required: true
default: "vnc"
enum:
- value: "none"
description: "None"
- value: "vnc"
description: "VNC"
- value: "neko"
description: "Neko"
- variable: ENABLE_VNC_AUDIO
label: "Enable VNC Audio"
description: "Configure nat1to1 for the neko WebUI."
schema:
type: boolean
default: true
show_if: [[WEB_UI_MODE, "=", "vnc"]]
- variable: NEKO_NAT1TO1
label: "Neko Nat1T01"
description: Configure nat1to1 for the neko WebUI.
schema:
type: string
default: ""
show_if: [[WEB_UI_MODE, "=", "neko"]]
- variable: ENABLE_VNC_AUDIO
label: "Enable VNC Audio"
description: "Configure nat1to1 for the neko WebUI."
schema:
type: boolean
default: true
show_if: [[WEB_UI_MODE, "=", "vnc"]]
- variable: ENABLE_SUNSHINE
label: "Enable Sunshine"
description: "Enable Sunshine streaming service."
schema:
type: boolean
default: false
- variable: SUNSHINE_USER
label: "Sunshine User"
description: "Set the Sunshine service username."
schema:
type: string
private: true
default: ""
show_if: [[ENABLE_SUNSHINE, "=", "true"]]
- variable: SUNSHINE_PASS
label: "Sunshine Password"
description: "Set the Sunshine service password."
schema:
type: string
private: true
default: ""
show_if: [[ENABLE_SUNSHINE, "=", "true"]]
- variable: ENABLE_EVDEV_INPUTS
label: "Enable EVDev Inputs"
description: "Enable Keyboard and Mouse Passthrough."
schema:
type: boolean
default: true
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 8083
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: home
label: "App Home Storage"
description: "Stores the Application Home."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: games
label: "App Games Storage"
description: "Stores the Application Games."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: flatpak
label: "App FlatPak Storage"
description: "Stores the Application FlatPak."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID 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
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
@@ -0,0 +1,61 @@
image:
repository: tccr.io/truecharts/steam-headless
pullPolicy: IfNotPresent
tag: vlatest@sha256:b1e4ca51e5651809eb739562dc4e1ee6ca498f03fdd042d1614e557314d1c504
securityContext:
container:
privileged: true
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
PORT_NOVNC_WEB: "{{ .Values.service.main.ports.main.port }}"
MODE: "primary"
# MODE = secondary
# DISPLAY: :0
# HOST_DBUS: true
WEB_UI_MODE: "vnc"
ENABLE_VNC_AUDIO: false
# NEKO_NAT1TO1: "" needs to be the ip of the host
ENABLE_SUNSHINE: false
# SUNSHINE_USER: ""
# SUNSHINE_PASS: ""
# USER_PASSWORD: ""
ENABLE_EVDEV_INPUTS: false
service:
main:
ports:
main:
protocol: http
port: 8083
persistence:
home:
enabled: true
mountPath: /home/default
games:
enabled: true
mountPath: /mnt/games
flatpak:
enabled: true
mountPath: /var/lib/flatpak
portal:
open:
enabled: true