diff --git a/charts/incubator/gaseous-server/.helmignore b/charts/incubator/gaseous-server/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/gaseous-server/.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/gaseous-server/CHANGELOG.md b/charts/incubator/gaseous-server/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/gaseous-server/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/gaseous-server/Chart.yaml b/charts/incubator/gaseous-server/Chart.yaml new file mode 100644 index 00000000000..688cb43aa35 --- /dev/null +++ b/charts/incubator/gaseous-server/Chart.yaml @@ -0,0 +1,44 @@ +annotations: + max_scale_version: 23.10.2 + min_scale_version: 23.10.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: media + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.12" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: 1.7.1 +dependencies: + - name: common + version: 17.3.9 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] + - name: mariadb + version: 12.1.17 + repository: oci://tccr.io/truecharts + condition: mariadb.enabled + alias: "" + tags: [] + import-values: [] +deprecated: false +description: A game ROM manager using multiple sources to identify and provide metadata. +home: https://truecharts.org/charts/incubator/gaseous-server +icon: https://truecharts.org/img/hotlink-ok/chart-icons/gaseous-server.png +keywords: + - gaseous-server + - rom-manager +kubeVersion: ">=1.24.0-0" +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: gaseous-server +sources: + - https://github.com/gaseous-project/gaseous-server + - https://github.com/truecharts/charts/tree/master/charts/incubator/gaseous-server + - https://hub.docker.com/r/gaseousgames/gaseousserver +type: application +version: 0.0.1 diff --git a/charts/incubator/gaseous-server/README.md b/charts/incubator/gaseous-server/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/gaseous-server/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/gaseous-server/icon.png b/charts/incubator/gaseous-server/icon.png new file mode 100644 index 00000000000..d13f0244226 Binary files /dev/null and b/charts/incubator/gaseous-server/icon.png differ diff --git a/charts/incubator/gaseous-server/questions.yaml b/charts/incubator/gaseous-server/questions.yaml new file mode 100644 index 00000000000..16c8581ebdd --- /dev/null +++ b/charts/incubator/gaseous-server/questions.yaml @@ -0,0 +1,127 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} + - variable: gaseous + group: App Configuration + label: Gaseous Server + schema: + additional_attrs: true + type: dict + attrs: + - variable: igdb + label: IGDB Credentials + schema: + additional_attrs: true + type: dict + attrs: + - variable: id + label: Client ID + schema: + type: string + private: true + default: "" + - variable: secret + label: Client Secret + schema: + type: string + private: true + default: "" + +# 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: 5198 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: config + label: "App Config Storage" + description: "Stores the Application Configuration." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: logs + label: "App Logs Storage" + description: "Stores the Application Logs." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." + 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{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{veleroSchedulesList} +# Include{documentation} diff --git a/charts/incubator/gaseous-server/templates/NOTES.txt b/charts/incubator/gaseous-server/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/gaseous-server/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/gaseous-server/templates/common.yaml b/charts/incubator/gaseous-server/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/gaseous-server/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/gaseous-server/values.yaml b/charts/incubator/gaseous-server/values.yaml new file mode 100644 index 00000000000..451019658a2 --- /dev/null +++ b/charts/incubator/gaseous-server/values.yaml @@ -0,0 +1,65 @@ +image: + repository: gaseousgames/gaseousserver + pullPolicy: IfNotPresent + tag: v1.7.1@sha256:ebbd35645d8e15e48fbf8b5af4adde9ac65e3aad3b0de627dacb2a012feff723 + +securityContext: + container: + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + protocol: http + targetPort: 80 + port: 5198 + +gaseous: + igdb: + id: "" + secret: "" + +workload: + main: + podSpec: + containers: + main: + env: + dbhost: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}' + key: plainhost + dbuser: "{{ .Values.mariadb.mariadbUsername }}" + dbname: "{{ .Values.mariadb.mariadbDatabase }}" + dbpass: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}' + key: mariadb-password + dbport: 3306 + igdbclientid: "{{ .Values.gaseous.igdb.id }}" + igdbclientsecret: "{{ .Values.gaseous.igdb.secret }}" + +persistence: + config: + enabled: true + mountPath: "/root/.gaseous-server" + logs: + enabled: true + mountPath: "/root/.gaseous-server/Logs" + data: + enabled: true + mountPath: "/root/.gaseous-server/Data" + +mariadb: + enabled: true + mariadbUsername: gaseous + mariadbDatabase: gaseous + +portal: + open: + enabled: true