diff --git a/charts/incubator/steam-headless/.helmignore b/charts/incubator/steam-headless/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/steam-headless/.helmignore @@ -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 diff --git a/charts/incubator/steam-headless/CHANGELOG.md b/charts/incubator/steam-headless/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/steam-headless/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/steam-headless/Chart.yaml b/charts/incubator/steam-headless/Chart.yaml new file mode 100644 index 00000000000..72e0c5bf328 --- /dev/null +++ b/charts/incubator/steam-headless/Chart.yaml @@ -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" diff --git a/charts/incubator/steam-headless/README.md b/charts/incubator/steam-headless/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/steam-headless/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/steam-headless/icon.png b/charts/incubator/steam-headless/icon.png new file mode 100644 index 00000000000..3b735eb6a05 Binary files /dev/null and b/charts/incubator/steam-headless/icon.png differ diff --git a/charts/incubator/steam-headless/questions.yaml b/charts/incubator/steam-headless/questions.yaml new file mode 100644 index 00000000000..c668a60c1a7 --- /dev/null +++ b/charts/incubator/steam-headless/questions.yaml @@ -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} diff --git a/charts/incubator/steam-headless/templates/NOTES.txt b/charts/incubator/steam-headless/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/steam-headless/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/steam-headless/templates/common.yaml b/charts/incubator/steam-headless/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/steam-headless/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/steam-headless/values.yaml b/charts/incubator/steam-headless/values.yaml new file mode 100644 index 00000000000..e40ab4f2834 --- /dev/null +++ b/charts/incubator/steam-headless/values.yaml @@ -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