Skip to content

Commit

Permalink
Add tdarr release
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasmaroy committed Mar 11, 2024
1 parent 499a88a commit 787dd49
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/home/apps/media/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ resources:
- sonarr
- rtorrent
- jellyfin
- tdarr
5 changes: 5 additions & 0 deletions kubernetes/home/apps/media/tdarr/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- release.yaml
162 changes: 162 additions & 0 deletions kubernetes/home/apps/media/tdarr/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: tdarr
namespace: media
spec:
interval: 1m0s
chart:
spec:
chart: app-template
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
version: 2.0.3 # {"$imagepolicy": "flux-system:app-template:tag"}
values:
env: {} # Necessary for the generic TZ patch to not fail
controllers:
main:
pod:
securityContext:
fsGroup: 997
fsGroupChangePolicy: "OnRootMismatch"
containers:
main:
nameOverride: tdarr
env:
PGID: 997
PUID: 929
TZ: ${TZ}
UMASK_SET: "002"
ffmpegVersion: 6
inContainer: "true"
internalNode: "false"
nodeName: Coordinator
serverIP: 0.0.0.0
serverPort: 8266
webUIPort: 8265
image:
pullPolicy: IfNotPresent
repository: ghcr.io/haveagitgat/tdarr
tag: 2.15.01
securityContext:
allowPrivilegeEscalation: false
capabilities:
add:
- CHOWN
- SETUID
- SETGID
drop:
- ALL
readOnlyRootFilesystem: false
ports:
- containerPort: 8265
name: http
protocol: TCP
- containerPort: 8266
name: coordinator
protocol: TCP
resources:
limits:
memory: 2Gi
requests:
cpu: 100m
memory: 1500Mi
node:
enabled: true
type: statefulset
replicas: 0
rollingUpdate:
partition: 0
statefulset:
podManagementPolicy: OrderedReady
pod:
securityContext:
fsGroup: 997
fsGroupChangePolicy: "OnRootMismatch"
supplementalGroups:
- 44
- 105
containers:
tdarr-node:
env:
PGID: 997
PUID: 929
TZ: ${TZ}
UMASK_SET: "002"
ffmpegVersion: 6
inContainer: "true"
serverIP: tdarr
serverPort: 8266
image:
pullPolicy: IfNotPresent
repository: ghcr.io/andrasmaroy/tdarr_node
tag: 2.15.01
resources:
limits:
gpu.intel.com/i915: 1
securityContext:
allowPrivilegeEscalation: false
capabilities:
add:
- CHOWN
- SETUID
- SETGID
drop:
- ALL
readOnlyRootFilesystem: false
runAsGroup: 997

ingress:
main:
annotations:
hajimari.io/icon: simple-icons:ffmpeg
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
enabled: true
hosts:
- host: tdarr.kubi.${DOMAIN_LOCAL}
paths:
- path: /
pathType: Prefix
service:
name: main
labels:
probe: enabled

persistence:
config:
enabled: true
advancedMounts:
main:
main:
- path: /app/server
globalMounts: []
retain: true
size: 1Gi
storageClass: longhorn
media:
enabled: true
globalMounts:
- subPath: Shows
path: /media/shows
- subPath: Movies
path: /media/movies
path: /tank/Media
server: nas
type: nfs

service:
main:
ports:
http:
port: 8265
coordinator:
controller: main
ports:
coordinator:
port: 8266
protocol: TCP

0 comments on commit 787dd49

Please sign in to comment.