feat(libremdb) add libremdb (#4829)

* feat(libremdb) add libremdb

* add redis dep

* enable redis

* remove invalid variable

* fix axios

* remove axios from GUI

* add axios to gui

* fix default value for AXIOS_ACCEPT

* change upstream image

* cleanup chart

* Fix url

* update tag

* update image repo

* quote special chars

* quotes

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97
2022-11-29 04:34:34 -05:00
committed by GitHub
parent 27a2e00751
commit d171218db6
7 changed files with 260 additions and 0 deletions
+30
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
+36
View File
@@ -0,0 +1,36 @@
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.3
- condition: redis.enabled
name: redis
repository: https://charts.truecharts.org
version: 5.0.3
deprecated: false
description: A free & open source IMDb front-end.
home: https://truecharts.org/docs/charts/incubator/libremdb
icon: https://truecharts.org/img/hotlink-ok/chart-icons/libremdb.png
keywords:
- libremdb
- media
- imdb
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: libremdb
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/libremdb
- https://github.com/zyachel/libremdb
- https://quay.io/pussthecatorg/libremdb
- https://github.com/PussTheCat-org/docker-libremdb-quay
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+1
View File
@@ -0,0 +1 @@
# libremdb
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

+156
View File
@@ -0,0 +1,156 @@
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{controller}
# Include{replicas}
# Include{replica1}
# Include{controllerExpertExtraArgs}
# Include{containerConfig}
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: NEXT_PUBLIC_URL
label: Next Public URL
description: Used for meta tags, no trailing slash.
schema:
type: string
required: true
default: ""
- variable: NEXT_TELEMETRY_DISABLED
label: Next Telemetry Disabled
schema:
type: string
default: "1"
enum:
- value: "0"
description: "False"
- value: "1"
description: "True"
- variable: axios
label: Show AXIOS Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: AXIOS_USERAGENT
label: Axios User Agent
description: Default user agent for requesting data from IMDB.
schema:
type: string
default: axios/0.27.2
- variable: AXIOS_ACCEPT
label: Axios Accept
description: Default Accept Header.
schema:
type: string
default: "application/json, text/plain, */*"
- variable: AXIOS_LANGUAGE
label: Axios Language
description: Forcing a certain language for data we get from IMDB.
schema:
type: string
default: "en-US,en;q=0.5"
# Include{serviceRoot}
- variable: main
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 10593
required: true
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# 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: false
- variable: allowPrivilegeEscalation
label: Allow Privilege Escalation
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: runAsNonRoot
schema:
type: boolean
default: true
# 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{vpn}
# Include{documentation}
@@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}
+36
View File
@@ -0,0 +1,36 @@
image:
repository: tccr.io/truecharts/libremdb
pullPolicy: IfNotPresent
tag: latest@sha256:d5a451baaf76032a4de6fe45b327ebf71836951f10614a452d8ac9139ecbab9c
env:
NEXT_PUBLIC_URL: http://localhost:3000
NEXT_TELEMETRY_DISABLED: 1
AXIOS_USERAGENT: "axios/0.27.2"
AXIOS_ACCEPT: "application/json, text/plain, */*"
AXIOS_LANGUAGE: "en-US,en;q=0.5"
USE_REDIS: true
REDIS_URL:
secretKeyRef:
name: rediscreds
key: url
service:
main:
ports:
main:
protocol: HTTP
targetPort: 3000
port: 10593
persistence:
config:
enabled: true
mountPath: /opt/app
redis:
enabled: true
existingSecret: rediscreds
portal:
enabled: true