mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat(sonarr): Deploying Sonarr with Helm chart
This commit is contained in:
@@ -7,6 +7,6 @@ resources:
|
||||
- traefik-forward-auth
|
||||
- torrent
|
||||
- prowlarr.yaml
|
||||
- sonarr
|
||||
- sonarr.yaml
|
||||
- radarr
|
||||
- lidarr.yaml
|
||||
@@ -0,0 +1,34 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: sonarr
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: applications
|
||||
source:
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
path: helm/application
|
||||
helm:
|
||||
values: |-
|
||||
name: sonarr
|
||||
image:
|
||||
name: lscr.io/linuxserver/sonarr
|
||||
hostVolumes:
|
||||
- name: sonarr-config
|
||||
hostPath: /disk/etc/sonarr
|
||||
mountPath: /config
|
||||
service:
|
||||
containerPort: 8989
|
||||
valueFiles:
|
||||
- ../../apps/arr/common-values.yaml
|
||||
destination:
|
||||
namespace: arr
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,37 +0,0 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: sonarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sonarr
|
||||
template:
|
||||
spec:
|
||||
volumes:
|
||||
- name: sonarr-config
|
||||
hostPath:
|
||||
path: "/disk/etc/sonarr"
|
||||
- name: media-data
|
||||
hostPath:
|
||||
path: "/disk/data"
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr
|
||||
imagePullPolicy: Always
|
||||
volumeMounts:
|
||||
- mountPath: "/config"
|
||||
name: sonarr-config
|
||||
- mountPath: "/app/data"
|
||||
name: media-data
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: Europe/Oslo
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 8989
|
||||
@@ -1,10 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: arr
|
||||
|
||||
commonLabels:
|
||||
app: sonarr
|
||||
|
||||
resources:
|
||||
- service.yaml
|
||||
- deployment.yaml
|
||||
@@ -1,11 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: sonarr
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: web
|
||||
port: 8989
|
||||
selector:
|
||||
app: sonarr
|
||||
Reference in New Issue
Block a user