Skip to content

Commit

Permalink
Add PVC configuration for Radarr and Sonarr
Browse files Browse the repository at this point in the history
  • Loading branch information
rodent1 committed Mar 23, 2024
1 parent 234f4f1 commit ba755ca
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/main/apps/media/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ spec:
- hosts:
- *host
persistence:
config:
existingClaim: config-radarr
tmp:
type: emptyDir
media:
Expand Down
1 change: 1 addition & 0 deletions kubernetes/main/apps/media/radarr/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ kind: Kustomization
resources:
- ./externalsecret.yaml
- ./helmrelease.yaml
- ./pvc.yaml
# Templates
- ../../../../templates/gatus/guarded
11 changes: 11 additions & 0 deletions kubernetes/main/apps/media/radarr/app/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: config-radarr
spec:
accessModes: ["ReadWriteMany"]
resources:
requests:
storage: 15Gi
storageClassName: ceph-filesystem
2 changes: 2 additions & 0 deletions kubernetes/main/apps/media/sonarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ spec:
- hosts:
- *host
persistence:
config:
existingClaim: config-sonarr
tmp:
type: emptyDir
media:
Expand Down
1 change: 1 addition & 0 deletions kubernetes/main/apps/media/sonarr/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ kind: Kustomization
resources:
- ./externalsecret.yaml
- ./helmrelease.yaml
- ./pvc.yaml
# Templates
- ../../../../templates/gatus/guarded
11 changes: 11 additions & 0 deletions kubernetes/main/apps/media/sonarr/app/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: config-sonarr
spec:
accessModes: ["ReadWriteMany"]
resources:
requests:
storage: 15Gi
storageClassName: ceph-filesystem

0 comments on commit ba755ca

Please sign in to comment.