mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
feat: tdarr
This commit is contained in:
@@ -51,6 +51,7 @@ resources:
|
|||||||
- ./sonarr/ks.yaml
|
- ./sonarr/ks.yaml
|
||||||
- ./smtp-relay/ks.yaml
|
- ./smtp-relay/ks.yaml
|
||||||
- ./tandoor/ks.yaml
|
- ./tandoor/ks.yaml
|
||||||
|
- ./tdarr/ks.yaml
|
||||||
- ./unifi/ks.yaml
|
- ./unifi/ks.yaml
|
||||||
- ./vaultwarden/ks.yaml
|
- ./vaultwarden/ks.yaml
|
||||||
- ./vikunja/ks.yaml
|
- ./vikunja/ks.yaml
|
||||||
|
123
kubernetes/apps/default/tdarr/app/helmrelease.yaml
Normal file
123
kubernetes/apps/default/tdarr/app/helmrelease.yaml
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: &app tdarr
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: app-template
|
||||||
|
version: 3.1.0
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: bjw-s
|
||||||
|
namespace: flux-system
|
||||||
|
maxHistory: 2
|
||||||
|
install:
|
||||||
|
createNamespace: true
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
cleanupOnFail: true
|
||||||
|
remediation:
|
||||||
|
strategy: rollback
|
||||||
|
retries: 3
|
||||||
|
uninstall:
|
||||||
|
keepHistory: false
|
||||||
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1000
|
||||||
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
|
controllers:
|
||||||
|
tdarr:
|
||||||
|
containers:
|
||||||
|
app:
|
||||||
|
image:
|
||||||
|
repository: haveagitgat/tdarr
|
||||||
|
tag: 2.19.01@sha256:7ab5059f9e47237b872b9b9936542869d1d1a63fed754a4452a35f3d5ac761d2
|
||||||
|
node:
|
||||||
|
image:
|
||||||
|
repository: haveagitgat/tdarr_node
|
||||||
|
tag: 2.19.01@sha256:1ef70ed89e78040ca68fa23670c39f7e103330e1a4a55b7c6cabd34680f7175f
|
||||||
|
env:
|
||||||
|
- name: nodeID
|
||||||
|
value: node
|
||||||
|
- name: serverIP
|
||||||
|
value: localhost
|
||||||
|
- name: serverPort
|
||||||
|
value: 8266
|
||||||
|
service:
|
||||||
|
app:
|
||||||
|
controller: *app
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 8265
|
||||||
|
server:
|
||||||
|
controller: *app
|
||||||
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: 192.168.169.117
|
||||||
|
externalTrafficPolicy: Local
|
||||||
|
ports:
|
||||||
|
server:
|
||||||
|
enabled: true
|
||||||
|
protocol: TCP
|
||||||
|
port: 8266
|
||||||
|
ingress:
|
||||||
|
app:
|
||||||
|
enabled: true
|
||||||
|
className: nginx
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/auth-method: GET
|
||||||
|
nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify
|
||||||
|
nginx.ingress.kubernetes.io/auth-signin: https://auth.${SECRET_CLUSTER_DOMAIN}?rm=$request_method
|
||||||
|
nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email
|
||||||
|
nginx.ingress.kubernetes.io/auth-snippet: proxy_set_header X-Forwarded-Method $request_method;
|
||||||
|
hajimari.io/icon: material-symbols:switch-video-outline
|
||||||
|
hosts:
|
||||||
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
service:
|
||||||
|
identifier: app
|
||||||
|
port: http
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- *host
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: *app
|
||||||
|
advancedMounts:
|
||||||
|
tdarr:
|
||||||
|
app:
|
||||||
|
- path: /app/configs
|
||||||
|
subPath: config
|
||||||
|
- path: /app/server
|
||||||
|
subPath: server
|
||||||
|
node:
|
||||||
|
- path: /app/configs
|
||||||
|
subPath: config
|
||||||
|
- path: /app/server
|
||||||
|
subPath: server
|
||||||
|
movies:
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/video/movies
|
||||||
|
globalMounts:
|
||||||
|
- path: /mnt/movies
|
||||||
|
tv:
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/video/tv
|
||||||
|
globalMounts:
|
||||||
|
- path: /mnt/tv
|
||||||
|
shared:
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/video/.tdarr
|
||||||
|
globalMounts:
|
||||||
|
- path: /mnt/shared
|
9
kubernetes/apps/default/tdarr/app/kustomization.yaml
Normal file
9
kubernetes/apps/default/tdarr/app/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: default
|
||||||
|
resources:
|
||||||
|
- ./helmrelease.yaml
|
||||||
|
- ../../../../templates/gatus/guarded
|
||||||
|
- ../../../../templates/volsync
|
29
kubernetes/apps/default/tdarr/ks.yaml
Normal file
29
kubernetes/apps/default/tdarr/ks.yaml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app tdarr
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: default
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
|
||||||
|
dependsOn:
|
||||||
|
- name: rook-ceph-cluster
|
||||||
|
- name: volsync
|
||||||
|
path: ./kubernetes/apps/default/tdarr/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: home-ops-kubernetes
|
||||||
|
wait: false
|
||||||
|
interval: 30m
|
||||||
|
retryInterval: 1m
|
||||||
|
timeout: 5m
|
||||||
|
postBuild:
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
VOLSYNC_CAPACITY: 20Gi
|
@@ -24,6 +24,7 @@ data:
|
|||||||
CLUSTER_LB_FRIGATE: 192.168.169.114
|
CLUSTER_LB_FRIGATE: 192.168.169.114
|
||||||
CLUSTER_LB_CILIUM: 192.168.169.115
|
CLUSTER_LB_CILIUM: 192.168.169.115
|
||||||
CLUSTER_LB_LMS: 192.168.169.116
|
CLUSTER_LB_LMS: 192.168.169.116
|
||||||
|
CLUSTER_LB_TDARR: 192.168.169.117
|
||||||
LOCAL_LAN: 192.168.8.0/22
|
LOCAL_LAN: 192.168.8.0/22
|
||||||
LOCAL_LAN_OPNSENSE: 192.168.8.1
|
LOCAL_LAN_OPNSENSE: 192.168.8.1
|
||||||
LOCAL_LAN_TRUENAS: 192.168.9.10
|
LOCAL_LAN_TRUENAS: 192.168.9.10
|
||||||
|
Reference in New Issue
Block a user