mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
feat: add sabnzb
This commit is contained in:
@@ -14,6 +14,7 @@ resources:
|
||||
- pyload
|
||||
- qbittorrent
|
||||
- radarr
|
||||
- sabnzbd
|
||||
- sonarr
|
||||
- tdarr
|
||||
- travelstories
|
||||
|
79
cluster/apps/media/sabnzbd/helm-release.yaml
Normal file
79
cluster/apps/media/sabnzbd/helm-release.yaml
Normal file
@@ -0,0 +1,79 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: sabnzbd
|
||||
namespace: media
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
# renovate: registryUrl=https://k8s-at-home.com/charts/
|
||||
chart: sabnzbd
|
||||
version: 7.0.1
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: k8s-at-home-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
image:
|
||||
repository: ghcr.io/k8s-at-home/sabnzbd
|
||||
tag: v3.2.1
|
||||
env:
|
||||
TZ: "Europe/Paris"
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
|
||||
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}/"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
proxy_set_header Accept-Encoding "";
|
||||
sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/themes/sabnzbd/space-gray.css"></head>';
|
||||
sub_filter_once on;
|
||||
forecastle.stakater.com/expose: "true"
|
||||
forecastle.stakater.com/appName: "SABnzbd"
|
||||
forecastle.stakater.com/icon: "https://avatars.githubusercontent.com/u/16778130?v=4"
|
||||
forecastle.stakater.com/network-restricted: "true"
|
||||
hosts:
|
||||
- host: "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
additionalIngresses:
|
||||
- enabled: true
|
||||
nameSuffix: "api"
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
hosts:
|
||||
- host: "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
existingClaim: sabnzbd-config
|
||||
podSecurityContext:
|
||||
supplementalGroups:
|
||||
- 100
|
||||
additionalVolumeMounts:
|
||||
- name: nfs-video-media
|
||||
mountPath: /mnt/storage/video
|
||||
additionalVolumes:
|
||||
- name: nfs-video-media
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-video-media
|
||||
resources:
|
||||
requests:
|
||||
memory: 250Mi
|
||||
cpu: 500m
|
||||
limits:
|
||||
memory: 7500Mi
|
5
cluster/apps/media/sabnzbd/kustomization.yaml
Normal file
5
cluster/apps/media/sabnzbd/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- volume.yaml
|
15
cluster/apps/media/sabnzbd/volume.yaml
Normal file
15
cluster/apps/media/sabnzbd/volume.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sabnzbd-config
|
||||
namespace: media
|
||||
labels:
|
||||
kasten-io-snapshots: "enable"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
Reference in New Issue
Block a user