diff --git a/charts/incubator/thumba/.helmignore b/charts/incubator/thumba/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/thumba/.helmignore @@ -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 diff --git a/charts/incubator/thumba/CHANGELOG.md b/charts/incubator/thumba/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/thumba/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/thumba/Chart.yaml b/charts/incubator/thumba/Chart.yaml new file mode 100644 index 00000000000..5a84095906b --- /dev/null +++ b/charts/incubator/thumba/Chart.yaml @@ -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 diff --git a/charts/incubator/thumba/README.md b/charts/incubator/thumba/README.md new file mode 100644 index 00000000000..2112065a38c --- /dev/null +++ b/charts/incubator/thumba/README.md @@ -0,0 +1 @@ +# thumba diff --git a/charts/incubator/thumba/docs/installation_notes.md b/charts/incubator/thumba/docs/installation_notes.md new file mode 100644 index 00000000000..453620f8cf6 --- /dev/null +++ b/charts/incubator/thumba/docs/installation_notes.md @@ -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`. diff --git a/charts/incubator/thumba/icon.png b/charts/incubator/thumba/icon.png new file mode 100644 index 00000000000..74ace3d8e71 Binary files /dev/null and b/charts/incubator/thumba/icon.png differ diff --git a/charts/incubator/thumba/questions.yaml b/charts/incubator/thumba/questions.yaml new file mode 100644 index 00000000000..84fb6dc06c1 --- /dev/null +++ b/charts/incubator/thumba/questions.yaml @@ -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} diff --git a/charts/incubator/thumba/templates/common.yaml b/charts/incubator/thumba/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/thumba/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/thumba/values.yaml b/charts/incubator/thumba/values.yaml new file mode 100644 index 00000000000..75f637afdc4 --- /dev/null +++ b/charts/incubator/thumba/values.yaml @@ -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