diff --git a/charts/incubator/scrypted/.helmignore b/charts/incubator/scrypted/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/scrypted/.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/scrypted/CHANGELOG.md b/charts/incubator/scrypted/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/scrypted/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/scrypted/Chart.yaml b/charts/incubator/scrypted/Chart.yaml new file mode 100644 index 00000000000..bc4a845a7f1 --- /dev/null +++ b/charts/incubator/scrypted/Chart.yaml @@ -0,0 +1,31 @@ +apiVersion: v2 +appVersion: "0.6.14" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 11.1.2 +deprecated: false +description: Scrypted is a high performance home video integration and automation platform. +home: https://truecharts.org/charts/incubator/scrypted +icon: https://truecharts.org/img/hotlink-ok/chart-icons/scrypted.png +keywords: + - scrypted + - automation +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: scrypted +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/scrypted + - https://ghcr.io/koush/scrypted + - https://github.com/koush/scrypted +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - media + - automation + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/scrypted/README.md b/charts/incubator/scrypted/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/scrypted/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/scrypted/ci/base-values.yaml b/charts/incubator/scrypted/ci/base-values.yaml new file mode 100644 index 00000000000..7e36603e844 --- /dev/null +++ b/charts/incubator/scrypted/ci/base-values.yaml @@ -0,0 +1 @@ +imageSelector: image diff --git a/charts/incubator/scrypted/ci/full-values.yaml b/charts/incubator/scrypted/ci/full-values.yaml new file mode 100644 index 00000000000..8dfe5db368c --- /dev/null +++ b/charts/incubator/scrypted/ci/full-values.yaml @@ -0,0 +1 @@ +imageSelector: fullImage diff --git a/charts/incubator/scrypted/ci/lite-values.yaml b/charts/incubator/scrypted/ci/lite-values.yaml new file mode 100644 index 00000000000..94baf6f8dd1 --- /dev/null +++ b/charts/incubator/scrypted/ci/lite-values.yaml @@ -0,0 +1 @@ +imageSelector: liteImage diff --git a/charts/incubator/scrypted/icon.png b/charts/incubator/scrypted/icon.png new file mode 100644 index 00000000000..06263ae65b4 Binary files /dev/null and b/charts/incubator/scrypted/icon.png differ diff --git a/charts/incubator/scrypted/questions.yaml b/charts/incubator/scrypted/questions.yaml new file mode 100644 index 00000000000..7b6a146e0ab --- /dev/null +++ b/charts/incubator/scrypted/questions.yaml @@ -0,0 +1,147 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} + - variable: imageSelector + group: Container Image + label: Select Image + schema: + type: string + default: image + enum: + - value: image + description: Thin + - value: liteImage + description: Lite + - value: fullImage + description: Full +# Include{controller} +# Include{replicas} +# Include{replica1} +# Include{controllerExpertExtraArgs} + - variable: env + group: App Configuration + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION + label: Scrypted WebHook Update Authorization + schema: + type: string + required: true + default: Bearer MAKE_ME_SECURE + - variable: SCRYPTED_WEBHOOK_UPDATE + label: Scrypted WebHook Update + schema: + type: string + required: true + default: http://localhost:10611/v1/update +# 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: 10611 + required: true +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: server + label: App Server Storage + description: Stores the Application Server. + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: media + label: App Media Storage + description: Stores the Application Media. + 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/scrypted/templates/common.yaml b/charts/incubator/scrypted/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/scrypted/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/scrypted/values.yaml b/charts/incubator/scrypted/values.yaml new file mode 100644 index 00000000000..e3eb79d4d83 --- /dev/null +++ b/charts/incubator/scrypted/values.yaml @@ -0,0 +1,38 @@ +image: + repository: tccr.io/truecharts/scrypted-thin + pullPolicy: IfNotPresent + tag: 0.6.14@sha256:4de1541011cb56935ba5a8e28a58f6cbcf62a903393dc94581eda0b6e2aa117c + +liteImage: + repository: tccr.io/truecharts/scrypted-lite + tag: 0.6.14@sha256:8b9f7a6169c9ee827970779eace6c1681013e919cce13589156106ef1e5b30bc + pullPolicy: Always + +fullImage: + repository: tccr.io/truecharts/scrypted-full + tag: 0.6.14@sha256:8b9f7a6169c9ee827970779eace6c1681013e919cce13589156106ef1e5b30bc + pullPolicy: Always + +imageSelector: image + +securityContext: + readOnlyRootFilesystem: false + +service: + main: + ports: + main: + protocol: HTTP + targetPort: 8080 + port: 10611 + +persistence: + server: + enabled: true + mountPath: /server/volume + media: + enabled: true + mountPath: /media/external + +portal: + enabled: true