Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-08-29 17:21:08 +00:00
parent fe23690300
commit a27af75ae7
16 changed files with 198 additions and 25 deletions

View File

@ -1,9 +0,0 @@
## [romm-2.0.2](https://github.com/truecharts/charts/compare/romm-2.0.1...romm-2.0.2) (2023-08-27)
### Chore
- update container image tccr.io/truecharts/romm to v1.10.0 ([#11921](https://github.com/truecharts/charts/issues/11921))

View File

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

View File

@ -4,6 +4,11 @@
## [romm-2.0.3](https://github.com/truecharts/charts/compare/romm-2.0.2...romm-2.0.3) (2023-08-29)
## [romm-2.0.2](https://github.com/truecharts/charts/compare/romm-2.0.1...romm-2.0.2) (2023-08-27)
### Chore
@ -92,8 +97,3 @@
## [romm-1.0.2](https://github.com/truecharts/charts/compare/romm-1.0.1...romm-1.0.2) (2023-06-07)
### Chore
- update helm general non-major ([#9423](https://github.com/truecharts/charts/issues/9423))

View File

@ -8,6 +8,10 @@ dependencies:
name: mariadb
repository: https://deps.truecharts.org/
version: 7.0.70
- condition: redis.enabled
name: redis
repository: https://deps.truecharts.org
version: 7.0.6
deprecated: false
description: game library manager focused in retro gaming
home: https://truecharts.org/charts/stable/romm
@ -25,7 +29,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/romm
- https://github.com/zurdi15/romm
type: application
version: 2.0.2
version: 2.0.3
annotations:
truecharts.org/catagories: |
- media

View File

@ -0,0 +1,4 @@
## [romm-2.0.3](https://github.com/truecharts/charts/compare/romm-2.0.2...romm-2.0.3) (2023-08-29)

Binary file not shown.

View File

@ -10,6 +10,18 @@ securityContext:
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
protocol: http
port: 10680
romm:
auth:
user: "admin"
pass: "admin"
workload:
main:
podSpec:
@ -23,12 +35,13 @@ workload:
startup:
type: http
env:
VITE_BACKEND_DEV_PORT: "{{ .Values.service.main.ports.main.port }}"
ROMM_BASE_PATH: /romm
ROMM_DB_DRIVER: mariadb
# IGDB client id
CLIENT_ID: ""
# IGDB client secret
CLIENT_SECRET: ""
# WIP
STEAMGRIDDB_API_KEY: ""
DB_PORT: 3306
DB_NAME: "{{ .Values.mariadb.mariadbDatabase }}"
@ -43,14 +56,20 @@ workload:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: mariadb-password
service:
main:
ports:
main:
protocol: http
targetPort: 80
port: 10680
REDIS_HOST:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: plainhost
REDIS_PORT: 6379
ROMM_AUTH_SECRET_KEY:
secretKeyRef:
name: romm-secrets
key: ROMM_AUTH_SECRET_KEY
ROMM_AUTH_ENABLED: true
ENABLE_EXPERIMENTAL_REDIS: true
ROMM_AUTH_USERNAME: "{{ .Values.romm.auth.user}}"
ROMM_AUTH_PASSWORD: "{{ .Values.romm.auth.pass}}"
persistence:
library:
@ -59,12 +78,18 @@ persistence:
resources:
enabled: true
mountPath: /romm/resources
logs:
enabled: true
mountPath: /romm/logs
mariadb:
enabled: true
mariadbUsername: romm
mariadbDatabase: romm
redis:
enabled: true
portal:
open:
enabled: true

View File

@ -179,6 +179,31 @@ questions:
schema:
type: string
- variable: romm
group: App Configuration
label: Romm
schema:
additional_attrs: true
type: dict
attrs:
- variable: auth
label: Auth Credentials
schema:
additional_attrs: true
type: dict
attrs:
- variable: user
label: Auth User
schema:
type: string
default: ""
- variable: pass
label: Auth Password
schema:
type: string
private: true
default: ""
- variable: TZ
label: Timezone
group: "General Settings"
@ -674,6 +699,107 @@ questions:
show_if: [["type", "=", "pvc"]]
type: string
default: 256Gi
- variable: logs
label: App Logs Storage
description: Stores the Application Logs.
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: Type of Storage
description: Sets the persistence type, Anything other than PVC could break rollback!
schema:
type: string
default: pvc
enum:
- value: pvc
description: PVC
- value: hostPath
description: Host Path
- value: emptyDir
description: emptyDir
- value: nfs
description: NFS Share
- variable: server
label: NFS Server
schema:
show_if: [["type", "=", "nfs"]]
type: string
default: ""
- variable: path
label: Path on NFS Server
schema:
show_if: [["type", "=", "nfs"]]
type: string
default: ""
- variable: autoPermissions
label: Automatic Permissions Configuration
description: Automatically set permissions
schema:
show_if: [["type", "!=", "pvc"]]
type: dict
additional_attrs: true
attrs:
- variable: enabled
label: enabled
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: chown
label: Run CHOWN
description: |
It will run CHOWN on the path with the given fsGroup
schema:
type: boolean
default: false
- variable: chmod
label: Run CHMOD
description: |
It will run CHMOD on the path with the given value</br>
Format should be 3 digits, e.g. 770
schema:
type: string
valid_chars: '[0-9]{3}'
default: ""
- variable: recursive
label: Recursive
description: |
It will run CHOWN and CHMOD recursively
schema:
type: boolean
default: false
- variable: readOnly
label: Read Only
schema:
type: boolean
default: false
- variable: hostPath
label: Host Path
description: Path inside the container the storage is mounted
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: EmptyDir Medium
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: Default
- value: Memory
description: Memory
- variable: size
label: Size quotum of Storage (Do NOT REDUCE after installation)
description: This value can ONLY be INCREASED after the installation
schema:
show_if: [["type", "=", "pvc"]]
type: string
default: 256Gi
- variable: persistenceList
label: Additional App Storage
group: Storage and Persistence

View File

@ -0,0 +1,13 @@
{{/* Define the secrets */}}
{{- define "romm.secrets" -}}
{{- $secretName := (printf "%s-romm-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }}
{{- $authKey := randAlphaNum 64 -}}
{{- with lookup "v1" "Secret" .Release.Namespace $secretName -}}
{{- $authKey = index .data "ROMM_AUTH_SECRET_KEY" | b64dec -}}
{{- end }}
enabled: true
data:
ROMM_AUTH_SECRET_KEY: {{ $authKey }}
{{- end -}}

View File

@ -0,0 +1,11 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . -}}
{{/* Render secrets for romm */}}
{{- $secrets := include "romm.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "romm-secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}}
{{- include "tc.v1.common.loader.apply" . -}}