Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-01-15 14:21:46 +00:00
parent 78946b80ef
commit 0989319b7f
13 changed files with 2107 additions and 0 deletions

View File

@ -0,0 +1,8 @@
**Important:**
*for the complete changelog, please refer to the website*
## [discordgsm-1.0.0](https://github.com/truecharts/charts/compare/discordgsm-0.0.14...discordgsm-1.0.0) (2023-01-15)

View File

@ -0,0 +1,33 @@
apiVersion: v2
appVersion: "2.10.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 11.0.18
description: A discord bot that monitors your game server and tracks the live data of your game servers.
home: https://truecharts.org/charts/stable/discordgsm
icon: https://truecharts.org/img/hotlink-ok/chart-icons/discordgsm.png
keywords:
- discordgsm
- game-server
- monitor
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: discordgsm
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/discordgsm
- https://github.com/DiscordGSM/GameServerMonitor
version: 1.0.0
annotations:
truecharts.org/catagories: |
- monitor
- discord
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -0,0 +1,4 @@
## [discordgsm-1.0.0](https://github.com/truecharts/charts/compare/discordgsm-0.0.14...discordgsm-1.0.0) (2023-01-15)

View File

@ -0,0 +1,8 @@
A discord bot that monitors your game server and tracks the live data of your game servers.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/discordgsm](https://truecharts.org/charts/stable/discordgsm)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,72 @@
image:
repository: tccr.io/truecharts/game-server-monitor
pullPolicy: IfNotPresent
tag: 2.10.0@sha256:b80cfe317edae74ec0fcbb664de260ab16565c26b4eb640968c7574709c17386
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
command:
- /bin/sh
- -c
- |
gunicorn \
--bind 0.0.0.0:{{ .Values.service.main.ports.main.port }} \
--workers={{ .Values.gsm.workers }} \
--worker-class=gthread app:app \
--timeout {{ .Values.gsm.timeout }} & \
python -u main.py
gsm:
# Server Config
workers: 2
timeout: 90
# Bot Config
app_token: ""
whitelist_guilds: []
app_activity_type: 3
app_activity_name: ""
app_presence_advertise: false
task_query_server: 60
command_query_public: false
command_query_cooldown: 5
web_api_enable: false
postgres_ssl_mode: disable
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-gsm-secret'
service:
main:
ports:
main:
port: 10230
protocol: HTTP
probes:
liveness:
type: HTTP
readiness:
type: HTTP
startup:
type: HTTP
persistence:
config:
enabled: true
mountPath: /app/data
postgresql:
enabled: true
existingSecret: dbcreds
postgresqlDatabase: discord_gsm
postgresqlUsername: discord_gsm
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,32 @@
{{/* Define the secret */}}
{{- define "gsm.secret" -}}
{{- $secretName := printf "%s-gsm-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData:
DATABASE_URL: {{ .Values.postgresql.url.complete | trimAll "\"" }}
DB_CONNECTION: {{ print "postgres" }}
APP_TOKEN: {{ .Values.gsm.app_token | quote }}
{{- with .Values.gsm.whitelist_guilds }}
WHITELIST_GUILDS: {{ join ";" . | quote }}
{{- end }}
APP_ACTIVITY_TYPE: {{ .Values.gsm.app_activity_type | quote }}
{{- with .Values.gsm.app_activity_name }}
APP_ACTIVITY_NAME: {{ . | quote }}
{{- end }}
APP_PRESENCE_ADVERTISE: {{ .Values.gsm.app_presence_advertise | quote }}
POSTGRES_SSL_MODE: {{ .Values.gsm.postgres_ssl_mode | quote }}
TASK_QUERY_SERVER: {{ .Values.gsm.task_query_server | quote }}
COMMAND_QUERY_PUBLIC: {{ .Values.gsm.command_query_public | quote }}
COMMAND_QUERY_COOLDOWN: {{ .Values.gsm.command_query_cooldown | quote }}
WEB_API_ENABLE: {{ .Values.gsm.web_api_enable | quote }}
{{- end }}

View File

@ -0,0 +1,7 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{- include "gsm.secret" . -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

View File

@ -0,0 +1,5 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/discordgsm.png
categories:
- monitor
- discord