diff --git a/charts/incubator/clipplex/.helmignore b/charts/incubator/clipplex/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/clipplex/.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/clipplex/CHANGELOG.md b/charts/incubator/clipplex/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/clipplex/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/clipplex/Chart.yaml b/charts/incubator/clipplex/Chart.yaml new file mode 100644 index 00000000000..477b793518d --- /dev/null +++ b/charts/incubator/clipplex/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +appVersion: "latest" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 11.0.7 +deprecated: false +description: Clip your plex media to share. +home: https://truecharts.org/docs/charts/incubator/clipplex +icon: https://truecharts.org/img/hotlink-ok/chart-icons/clipplex.png +keywords: + - clipplex + - media +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: clipplex +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/clipplex + - https://github.com/jo-nike/clipplex +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/clipplex/README.md b/charts/incubator/clipplex/README.md new file mode 100644 index 00000000000..f879bea98ca --- /dev/null +++ b/charts/incubator/clipplex/README.md @@ -0,0 +1 @@ +# clipplex diff --git a/charts/incubator/clipplex/docs/installation_notes.md b/charts/incubator/clipplex/docs/installation_notes.md new file mode 100644 index 00000000000..bb138deb59d --- /dev/null +++ b/charts/incubator/clipplex/docs/installation_notes.md @@ -0,0 +1,14 @@ +# Installation Notes + +- Set `Plex Token` to your plex token, info [here](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/). + +- Optionally Set `Streamable Login` and `Streamable Password` to your account details. + +- Set `Plex URL` to the url of plex, typically you can use: + + - `http://plex.ix-plex.svc.cluster.local:32400` + - `http://IP:32400` + - `https://plex.mydomain.tld` + +- In order for this to work you will need to add your media through additional storage and mount the same internal dir that you used in plex. + - ex: `/media` diff --git a/charts/incubator/clipplex/icon.png b/charts/incubator/clipplex/icon.png new file mode 100644 index 00000000000..6e00e08f340 Binary files /dev/null and b/charts/incubator/clipplex/icon.png differ diff --git a/charts/incubator/clipplex/questions.yaml b/charts/incubator/clipplex/questions.yaml new file mode 100644 index 00000000000..940389281c6 --- /dev/null +++ b/charts/incubator/clipplex/questions.yaml @@ -0,0 +1,148 @@ +# 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: PLEX_TOKEN + label: "Plex Token" + schema: + type: string + required: true + private: true + default: "" + - variable: STREAMABLE_LOGIN + label: "Streamable Login" + description: "Optionally set the streamable login" + schema: + type: string + default: "" + - variable: STREAMABLE_PASSWORD + label: "Streamable Password" + description: "Optionally streamable Password" + schema: + type: string + private: true + default: "" + - variable: env + group: "App Configuration" + label: "Image Environment" + schema: + additional_attrs: true + type: dict + attrs: + - variable: PLEX_URL + label: "Plex URL" + schema: + type: string + required: true + default: "" + +# 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: 10602 + required: true +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: clips + label: App Clips Storage + description: Stores the Application Clips. + 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: true + - 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/clipplex/templates/common.yaml b/charts/incubator/clipplex/templates/common.yaml new file mode 100644 index 00000000000..c1a366e1cf0 --- /dev/null +++ b/charts/incubator/clipplex/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/clipplex/values.yaml b/charts/incubator/clipplex/values.yaml new file mode 100644 index 00000000000..ebb821588f0 --- /dev/null +++ b/charts/incubator/clipplex/values.yaml @@ -0,0 +1,29 @@ +image: + repository: tccr.io/truecharts/clipplex + pullPolicy: IfNotPresent + tag: latest@sha256:fab2d14712fe431ddefe59ec976f5a16436826e8a05d9d78059777a3f4e7cfa7 + +secretEnv: + PLEX_TOKEN: "" + STREAMABLE_LOGIN: "" + STREAMABLE_PASSWORD: "" + +env: + PLEX_URL: "" + PYTHONUNBUFFERED: 1 + +service: + main: + ports: + main: + protocol: HTTP + targetPort: 5000 + port: 10602 + +persistence: + clips: + enabled: true + mountPath: /app/app/static/media + +portal: + enabled: true