diff --git a/charts/incubator/retrobot/.helmignore b/charts/incubator/retrobot/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/retrobot/.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/retrobot/Chart.yaml b/charts/incubator/retrobot/Chart.yaml new file mode 100644 index 00000000000..57b8bb08b96 --- /dev/null +++ b/charts/incubator/retrobot/Chart.yaml @@ -0,0 +1,31 @@ +apiVersion: v2 +appVersion: "latest" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 10.7.0 +deprecated: false +description: A discord bot that allows you to play old nintendo games with your friends over chat. +home: https://truecharts.org/docs/charts/incubator/retrobot +icon: https://truecharts.org/img/hotlink-ok/chart-icons/retrobot.png +keywords: + - retrobot + - emulator + - discord +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: retrobot +sources: + - https://github.com/rossimo/retrobot + - https://hub.docker.com/r/rossimo/retrobot +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - emulator + - games + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/retrobot/README.md b/charts/incubator/retrobot/README.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/retrobot/icon.png b/charts/incubator/retrobot/icon.png new file mode 100644 index 00000000000..d67abe7e6c4 Binary files /dev/null and b/charts/incubator/retrobot/icon.png differ diff --git a/charts/incubator/retrobot/questions.yaml b/charts/incubator/retrobot/questions.yaml new file mode 100644 index 00000000000..6da45580813 --- /dev/null +++ b/charts/incubator/retrobot/questions.yaml @@ -0,0 +1,125 @@ +# Include{groups} +portals: {} +questions: +# Include{global} +# Include{controller} +# Include{controllerDeployment} +# Include{replicas} +# Include{replica1} +# Include{strategy} +# Include{recreate} +# Include{controllerExpert} +# Include{controllerExpertExtraArgs} + - variable: secretEnv + group: "Container Configuration" + label: "Image Secrets" + schema: + additional_attrs: true + type: dict + attrs: + - variable: DISCORD_TOKEN + label: Discord Token + description: Sets discord token + schema: + type: string + default: "" + private: true + required: true + - variable: env + group: Container Configuration + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: MAX_WORKERS + label: Max Workers + description: -1 means Retrobot will create a worker thread for each CPU core on the host system. + schema: + type: int + default: -1 + required: true + - variable: MAX_WORKERS_PER_GAME + label: Max Workers Per Game + description: Input assist worker threads to emulate the result of a button press for a game. + schema: + type: int + default: 3 + required: true + - variable: RECORDING_FRAMERATE + label: Recording Framerate + description: Framerate to encode GIFs + schema: + type: int + default: 30 + min: 1 + max: 60 + required: true +# Include{containerConfig} +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: App Data Storage + description: Stores the Application Data + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceAdvanced} +# Include{persistenceList} +# Include{ingressList} +# Include{security} +# Include{securityContextAdvancedRoot} + - variable: privileged + label: Privileged mode + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: ReadOnly Root Filesystem + schema: + type: boolean + default: true + - variable: allowPrivilegeEscalation + label: Allow Privilege Escalation + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: runAsNonRoot + schema: + type: boolean + default: true +# Include{securityContextAdvanced} +# Include{podSecurityContextRoot} + - variable: runAsUser + label: runAsUser + description: The UserID of the user running the application + schema: + type: int + default: 568 + - variable: runAsGroup + label: runAsGroup + description: The groupID this App of the user running the application + schema: + type: int + default: 568 + - variable: fsGroup + label: fsGroup + description: The group that should own ALL storage. + schema: + type: int + default: 568 +# Include{podSecurityContextAdvanced} +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{promtail} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/retrobot/templates/common.yaml b/charts/incubator/retrobot/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/retrobot/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/retrobot/values.yaml b/charts/incubator/retrobot/values.yaml new file mode 100644 index 00000000000..5162674beec --- /dev/null +++ b/charts/incubator/retrobot/values.yaml @@ -0,0 +1,35 @@ +image: + repository: tccr.io/truecharts/retrobot + pullPolicy: IfNotPresent + tag: latest@sha256:76da3e92104323e34d435a9d32ed578dc780a1178b2ff9c64df1bdf1fa65b01a + +secretEnv: + DISCORD_TOKEN: "" + +env: + MAX_WORKERS: -1 + MAX_WORKERS_PER_GAME: 3 + RECORDING_FRAMERATE: 30 + +service: + main: + enabled: false + ports: + main: + enabled: false + +probes: + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false + +persistence: + data: + enabled: true + mountPath: /retrobot/data + +portal: + enabled: false diff --git a/cspell.config.yaml b/cspell.config.yaml index 937c82dc226..dff9cbfafd4 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -213,6 +213,7 @@ words: - replacementurlhere - resolv - restreamer + - Retrobot - rtmp - rtmps - sabnzbd