feat(clipplex) add clipplex (#5551)

* feat(clipplex) add clipplex

* update docs
This commit is contained in:
Xstar97
2022-12-25 04:32:10 -05:00
committed by GitHub
parent 3ce9206a46
commit 1f4fa4f736
9 changed files with 253 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,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

View File

@@ -0,0 +1 @@
# clipplex

View File

@@ -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`

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@@ -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}

View File

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

View File

@@ -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