diff --git a/charts/incubator/libremdb/.helmignore b/charts/incubator/libremdb/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/libremdb/.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/libremdb/Chart.yaml b/charts/incubator/libremdb/Chart.yaml new file mode 100644 index 00000000000..5f7b38c10fc --- /dev/null +++ b/charts/incubator/libremdb/Chart.yaml @@ -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 diff --git a/charts/incubator/libremdb/README.md b/charts/incubator/libremdb/README.md new file mode 100644 index 00000000000..41b37f0e45d --- /dev/null +++ b/charts/incubator/libremdb/README.md @@ -0,0 +1 @@ +# libremdb diff --git a/charts/incubator/libremdb/icon.png b/charts/incubator/libremdb/icon.png new file mode 100644 index 00000000000..c71dce0583a Binary files /dev/null and b/charts/incubator/libremdb/icon.png differ diff --git a/charts/incubator/libremdb/questions.yaml b/charts/incubator/libremdb/questions.yaml new file mode 100644 index 00000000000..38a95e684df --- /dev/null +++ b/charts/incubator/libremdb/questions.yaml @@ -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} diff --git a/charts/incubator/libremdb/templates/common.yaml b/charts/incubator/libremdb/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/libremdb/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/libremdb/values.yaml b/charts/incubator/libremdb/values.yaml new file mode 100644 index 00000000000..c6526bc907a --- /dev/null +++ b/charts/incubator/libremdb/values.yaml @@ -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