feat(thumba) add thumba (#5513)

* feat(thumba) add thumba

* update icon

* rar | rofs

* Apply suggestions from code review

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97
2022-12-18 07:22:45 -05:00
committed by GitHub
parent 5e402bd56d
commit dc4370fce9
9 changed files with 277 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 @@
# Changelog

View File

@@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "0.0.15"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.7
deprecated: false
description: A self hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results.
home: https://truecharts.org/docs/charts/incubator/thumba
icon: https://truecharts.org/img/hotlink-ok/chart-icons/thumba.png
keywords:
- thumba
- media
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: thumba
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/thumba
- https://github.com/BoKKeR/thumba
- https://hub.docker.com/r/bokker/thumba
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@@ -0,0 +1 @@
# thumba

View File

@@ -0,0 +1,14 @@
# Installation Notes
- You will need two API keys and a search engine project CX ID.
- Google custom search API
- Sign up [here](https://programmablesearchengine.google.com/).
- Create a new project with access to the entire web.
- Grab the project `ID` and apply it to `Google Search CX`.
- Enable the search [API](https://developers.google.com/custom-search/v1/introduction) and grab the `Google Search Key`
- (Optional) Add billing account if more than free tier amounts needed.
- Thum.io API (This only offers paid services).
- Sign up [here](https://www.thum.io/signup).
- Add credit card
- Generate a `key` [here](https://www.thum.io/admin/keys).
- Copy `keyID` to `Thum Key ID` and `keySecret` to `Thum Key Secret`.

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,160 @@
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{controller}
# Include{replicas}
# Include{replica1}
# Include{controllerExpertExtraArgs}
- variable: secretEnv
group: App Configuration
label: Image Secrets
schema:
additional_attrs: true
type: dict
attrs:
- variable: GOOGLE_SEARCH_KEY
label: Google Search Key
schema:
type: string
default: ""
required: true
- variable: GOOGLE_SEARCH_CX
label: Google Search CX
schema:
type: string
default: ""
required: true
private: true
- variable: THUM_KEY_ID
label: Thum Key ID
schema:
type: string
default: ""
required: true
- variable: THUM_KEY_SECRET
label: Thum Key Secret
schema:
type: string
default: ""
required: true
private: true
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: NEXT_PUBLIC_HOST
label: Next Public Host
schema:
type: string
default: "http://localhost"
# Include{containerConfig}
# 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: 10598
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}
- variable: video
label: App Video Storage
description: Stores the Application Video.
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: false
# Include{podSecurityContextRoot}
- variable: runAsUser
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
- 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}

View File

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

View File

@@ -0,0 +1,40 @@
image:
repository: tccr.io/truecharts/thumba
pullPolicy: IfNotPresent
tag: 0.0.15@sha256:064641b965fb34cf77a2ea6cb89f455b04aec25b50f669871957b0927d1b7088
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
secretEnv:
GOOGLE_SEARCH_KEY: key
GOOGLE_SEARCH_CX: projectId
THUM_KEY_ID: keyID
THUM_KEY_SECRET: keySecret
env:
NEXT_PUBLIC_PORT: "{{ .Values.service.main.ports.main.port}}"
NEXT_PUBLIC_HOST: "http://localhost"
service:
main:
ports:
main:
protocol: HTTP
port: 10598
persistence:
config:
enabled: true
mountPath: /app/config
video:
enabled: true
mountPath: /app/video
portal:
enabled: true