-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.md.gotmpl
319 lines (251 loc) · 9.86 KB
/
README.md.gotmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
{{- define "chart.title" }}{{ .Name | replace "-" " " | title }}{{- end }}
{{- define "chart.icon" }}https://raw.githubusercontent.com/CrystalNET-org/helm-romm/main/chart/icon.png{{- end }}
{{- define "parameter.description" }}{{ regexReplaceAll "(https?://)([^/]+(?:/[^/]+)?)([^\\s]+)" (.Description | default .AutoDescription) "[$2]($1$2$3)" }}{{- end }}
<!-- markdownlint-disable MD033 -->
<h1 align="center">
<a href="{{ template "chart.homepage" . }}">
<img src="{{ template "chart.icon" . }}" alt="Logo" style="max-height: 150px">
</a>
</h1>
<h4 align="center">{{ template "chart.title" . }} - {{ template "chart.description" . }}</h4>
<div align="center">
<br/>
[
![License](https://img.shields.io/github/license/zurdi15/romm?logo=git&logoColor=white&logoWidth=20)
](LICENSE)
<br/>
{{ template "chart.typeBadge" . }}
{{ template "chart.versionBadge" . }}
{{ template "chart.appVersionBadge" . }}
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/CrystalNET)](https://artifacthub.io/packages/helm/crystalnet/romm)
</div>
---
## [{{ template "chart.title" . }}]({{ template "chart.homepage" . }})
> _Disclaimer: This application has been developed by the [{{ template "chart.title" . }}]({{ template "chart.homepage" . }}) community._
RomM (**ROM M**anager) is a game library manager focused on retro gaming. It enables you to efficiently manage and organize all your games from a web browser.
Inspired by [Jellyfin](https://jellyfin.org/), RomM allows you to handle all your games through a modern interface while enhancing them with IGDB metadata.
## ⚡ Features
- Scan your game library (all at once or by platform) and enrich it with IGDB metadata.
- Access your library via your web browser.
- Easily choose from matching IGDB results if the scan doesn't find the right one.
- Compatible with EmuDeck folder structures.
- Supports games with multiple files.
- Download games directly from your web browser.
- Edit your game files directly from your web browser.
- Upload games directly from your web-browser
- Set a custom cover for each game
- Includes region, revision/version, and extra tags support.
- Works with SQLite or MariaDB.
- Features a responsive design with dark mode support.
[> More about {{ template "chart.title" . }}]({{ template "chart.homepage" . }})
---
## TL;DR
Direct install via oci://:
```shell
helm install my-paperless oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```
install using chartMuseum:
```shell
helm repo add crystalnet https://charts.crystalnet.org
helm install my-paperless crystalnet/{{ template "chart.name" . }}
```
## Introduction
This chart bootstraps a {{ template "chart.title" . }} deployment on a [Kubernetes](kubernetes.io) cluster using the [Helm](helm.sh) package manager.
## Support
Join the discussion on RomM's discord server in the helm channel: https://discord.gg/MmR2RBznMp
## Prerequisites
- Helm 3+
- PV provisioner support in the underlying infrastructure
{{ template "chart.requirementsSection" . }}
## Installing the Chart
To install the chart with the release name `my-release`:
Direct install via oci://:
```shell
helm install my-release oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```
install using chartMuseum:
```shell
helm repo add crystalnet https://charts.crystalnet.org
helm install my-release crystalnet/{{ template "chart.name" . }}
```
These commands deploy {{ template "chart.name" . }} on the Kubernetes cluster in the default configuration.
The Parameters section lists the parameters that can be configured during installation.
> **Tip:** List all releases using `helm list`
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```shell
helm delete my-release
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Parameters
{{- $params := list }}
### Global parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if hasPrefix "global." .Key }}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### Common parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "commonAnnotations" .Key)
(hasPrefix "commonLabels" .Key)
(hasPrefix "fullnameOverride" .Key)
(hasPrefix "nameOverride" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### {{ template "chart.title" . }} parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "image" .Key)
(and (hasPrefix "romm" .Key) (not (hasPrefix "romm.config.database" .Key)))
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### Security parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "podSecurityContext" .Key)
(hasPrefix "securityContext" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### Deployment/Statefulset parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "affinity" .Key)
(hasPrefix "container" .Key)
(hasPrefix "deployment" .Key)
(hasPrefix "nodeSelector" .Key)
(hasPrefix "pod" .Key)
(hasPrefix "priorityClassName" .Key)
(hasPrefix "provisioning" .Key)
(hasPrefix "replicaCount" .Key)
(hasPrefix "resources" .Key)
(hasPrefix "statefulset" .Key)
(hasPrefix "strategy" .Key)
(hasPrefix "tolerations" .Key)
(hasPrefix "topologySpreadConstraints" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### Network parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "service" .Key)
(hasPrefix "ingress" .Key)
(hasPrefix "networkPolicy" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### Persistence parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "persistence" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### Database parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "mariadb" .Key)
(hasPrefix "romm.config.database" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
### redis parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "redis" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
{{- if not (eq (len .Values) (len $params)) }}
### Other parameters
| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if not (has .Key $params) }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
{{- end }}
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```shell
helm install my-release --set fullnameOverride=my-{{ template "chart.name" . }} oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
```shell
helm install my-release -f values.yaml oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```
> **Tip:** You can use the default values.yaml
## License
Licensed under the GNU General Public License v3.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
```
https://github.com/zurdi15/romm/blob/release/LICENSE
```
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License.
{{ template "helm-docs.versionFooter" . }}