feat(retrobot) add retrobot. (#4086)

* feat(retrobot) add retrobot.

* fix questions issue

* use tccr.io image

* adjust

* quote

* private

Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
Xstar97 2022-10-14 17:16:13 -04:00 committed by GitHub
parent 80153b5e9d
commit 082c544071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 223 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -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}

View File

@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}

View File

@ -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

View File

@ -213,6 +213,7 @@ words:
- replacementurlhere
- resolv
- restreamer
- Retrobot
- rtmp
- rtmps
- sabnzbd