feat(unmanic): Add unmanic (#1796)

* feat(unmanic): Add unmanic

* whoops

* try wthout varrun with correct iamge

* has s6, so root.

* rofs

* update questions

* update description

* update app request list

* update image
This commit is contained in:
Stavros Kois 2022-01-28 01:21:32 +02:00 committed by GitHub
parent f2f77320f3
commit 2c54b03942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 437 additions and 5 deletions

View File

@ -0,0 +1,26 @@
apiVersion: v2
appVersion: "0.1.4"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
description: Unmanic is a simple tool for optimising your file library.
home: https://github.com/truecharts/apps/tree/master/charts/stable/unmanic
icon: https://truecharts.org/_static/img/appicons/unmanic-icon.png
keywords:
- media
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: unmanic
sources:
- https://github.com/Unmanic/unmanic
- https://hub.docker.com/r/josh5/unmanic
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,366 @@
# Include{groups}
portals:
web_portal:
protocols:
- "$kubernetes-resource_configmap_portal_protocol"
host:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$kubernetes-resource_configmap_portal_port"
questions:
- variable: portal
group: "Container Image"
label: "Configure Portal Button"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: "Enable"
description: "enable the portal button"
schema:
hidden: true
editable: false
type: boolean
default: true
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: type
description: "Please specify type of workload to deploy"
label: "(Advanced) Controller Type"
schema:
type: string
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "Recreate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
# Include{fixedEnv}
- variable: PUID
label: "PUID"
description: "Sets the PUID env var for LinuxServer.io (compatible) containers"
schema:
type: int
default: 568
# Include{containerConfig}
- variable: service
group: "Networking and Services"
label: "Configure Service(s)"
schema:
additional_attrs: true
type: dict
attrs:
- 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{serviceSelector}
- 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: 10157
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 8888
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
- variable: persistence
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
additional_attrs: true
type: dict
attrs:
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: persistence
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
additional_attrs: true
type: dict
attrs:
- variable: library
label: "App Library Storage"
description: "Switch this to HostPath (Simple) and mount your library"
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
# Include{persistenceList}
- variable: ingress
label: ""
group: "Ingress"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- 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{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- 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}

View File

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

View File

@ -0,0 +1,37 @@
image:
repository: tccr.io/truecharts/unmanic
tag: v0.1.4@sha256:9a255521474745ab6ee4ea481db72b86da27ff390741d030839efb61d2cff60e
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
TZ: UTC
PUID: 568
service:
main:
ports:
main:
port: 10157
targetPort: 8888
persistence:
config:
enabled: true
mountPath: "/config"
library:
enabled: true
mountPath: "/library"
cache:
enabled: true
mountPath: "/tmp/unmanic"
type: emptyDir
varrun:
enabled: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -50,7 +50,6 @@ _This list is to track `App Requests` from one place._
- [ ] Monero #1228
- [ ] AriaNG #1224
- [ ] FileBrowser #1278
- [ ] Unmanic #1279
- [ ] powerdns
- [ ] Self Service Password #1482
- [ ] MakeMKV #1469
@ -69,13 +68,13 @@ _This list is to track `App Requests` from one place._
- [ ] Ghost #1282
##### TODO: Requires More-Than-Average effort
- [ ] Taiga #438 (Clusterfuck of containers and already depricated)
- [ ] Netdata #280
- [ ] Appwrite/Parse Framework #278
- [ ] GitLab #227
- [ ] Wordpress #437
- [ ] Steamcmd & 7 Days to die #599
- [ ] Synapse (Matrix Server) #410
- [ ] MovieNight #139 (not a good docker container available)
- [ ] LanCache #138
@ -91,7 +90,6 @@ _This list is to track `App Requests` from one place._
- [ ] nginx ( Should be called "nginx-webserver" to prevent ingress-provider confusion )
- [ ] openssh-server ( Maybe call this "openssh-sandbox?" )
- [ ] rutorrent ( needs another container source and has config complications )
- [ ] snapdrop ( Not sure about networking requirements/design )
- [ ] serviio ( very niche, no good containers )
@ -126,9 +124,8 @@ _This list is to track `App Requests` from one place._
##### TODO: Requires Postgresql+redis customisation
- [ ] shlink ( example helm-chart available from [ k8s-at-home ](https://github.com/k8s-at-home/charts) )
- [ ] wallabag ( example helm-chart available from [ k8s-at-home ](https://github.com/k8s-at-home/charts) )
- [ ] papermerge ( example helm-chart available from [ nicholaswilde ](https://github.com/nicholaswilde/helm-charts) )
##### TODO: Requires MariaDB to be added first
- [ ] FreePBX #1111
@ -513,4 +510,8 @@ _These Apps have specific requirements or need specific customisation and care_
- [x] DMS (Document Manage System) #810
- [x] scrutiny ( Needs customised solution for direct disk access )
- [x] Trilium Notes #1261
- [x] Unmanic #1279
- [x] shlink ( example helm-chart available from [ k8s-at-home ](https://github.com/k8s-at-home/charts) )
- [x] papermerge ( example helm-chart available from [ nicholaswilde ](https://github.com/nicholaswilde/helm-charts) )
- [x] Synapse (Matrix Server) #410
- [x] n8n #27

View File

@ -307,6 +307,7 @@ These defaults can of course be changed, but as we guarantee "sane, working defa
| shlink-web-client | main | main | 10154 | HTTP | |
| airdcpp-webclient | main | main | 10155 | HTTP | |
| trilium-notes | main | main | 10156 | HTTP | |
| unmanic | main | main | 10157 | TCP | |
| hyperion-ng | boblightservice | boblightservice | 19333 | TCP | |
| hyperion-ng | jsonservice | jsonservice | 19444 | TCP | |
| hyperion-ng | protobufservice | protobufservice | 19445 | TCP | |