Skip to content

Commit

Permalink
feat(overseerr): migrate to jellyseerr
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Dec 22, 2024
1 parent 6c22ac9 commit 4e392ea
Show file tree
Hide file tree
Showing 10 changed files with 82 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ spec:
databases: ["dashbrr"]
password:
type: AlphaNumeric
- name: "jellyseerr"
databases: ["jellyseerr"]
password:
type: AlphaNumeric
- name: "lubelog"
databases: ["lubelog"]
password:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
DASHBRR_RADARR_API_KEY: "{{ .RADARR_API_KEY }}"
DASHBRR_SONARR_API_KEY: "{{ .SONARR_API_KEY }}"
DASHBRR_PROWLARR_API_KEY: "{{ .PROWLARR_API_KEY }}"
DASHBRR_OVERSEERR_API_KEY: "{{ .OVERSEERR_API_KEY }}"
DASHBRR_JELLYSEERR_API_KEY: "{{ .JELLYSEERR_API_KEY }}"
DASHBRR_MAINTAINERR_API_KEY: "{{ .MAINTAINERR_API_KEY }}"
DASHBRR_PLEX_API_KEY: "{{ .PLEX_API_KEY }}"
# OIDC
Expand Down Expand Up @@ -43,7 +43,7 @@ spec:
key: prowlarr
sourceRef: *onepass
- extract:
key: overseerr
key: jellyseerr
sourceRef: *onepass
- extract:
key: maintainerr
Expand Down
34 changes: 34 additions & 0 deletions kubernetes/main/apps/media/jellyseerr/app/externalsecret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# yaml-language-server: $schema=https://kube-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: &name jellyseerr-secret
spec:
target:
name: *name
template:
engineVersion: v2
data:
# App
JELLYSEERR_API_KEY: "{{ .JELLYSEERR_API_KEY }}"
# Database
DB_TYPE: "postgres"
DB_HOST: '{{ index . "pgbouncer-host" }}'
DB_PORT: '{{ index . "pgbouncer-port" }}'
DB_USER: '{{ .user }}'
DB_PASS: '{{ .password }}'
=: '{{ .dbname }}'
dataFrom:
- extract:
key: jellyseerr
sourceRef:
storeRef:
kind: ClusterSecretStore
name: onepassword-connect
- extract:
key: postgres-pguser-jellyseerr
sourceRef:
storeRef:
kind: ClusterSecretStore
name: crunchy-pgo-secrets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app overseerr
name: &app jellyseerr
spec:
interval: 30m
chart:
Expand All @@ -27,22 +27,22 @@ spec:
namespace: rook-ceph
values:
controllers:
overseerr:
jellyseerr:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/sct/overseerr
tag: 1.33.2
repository: docker.io/fallenbagel/jellyseerr
tag: 2.1.0@sha256:af5563771964282e5bfb6a4f30b05c75c8d30661a920f0399086f575217d0573
env:
TZ: ${TIMEZONE}
resources:
requests:
cpu: 15m
memory: 350M
cpu: 10m
memory: 350Mi
limits:
memory: 600M
memory: 600Mi
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand All @@ -63,12 +63,12 @@ spec:
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Video
gethomepage.dev/name: Overseerr
gethomepage.dev/icon: overseerr.png
gethomepage.dev/name: jellyseerr
gethomepage.dev/icon: jellyseerr.png
gethomepage.dev/description: Media Request Management
gethomepage.dev/widget.type: overseerr
gethomepage.dev/widget.url: http://overseerr.media:5055
gethomepage.dev/widget.key: "{{ `{{HOMEPAGE_VAR_OVERSEERR_TOKEN}}` }}"
gethomepage.dev/widget.type: jellyseerr
gethomepage.dev/widget.url: http://jellyseerr.media:5055
gethomepage.dev/widget.key: "{{ `{{HOMEPAGE_VAR_JELLYSEERR_TOKEN}}` }}"
hosts:
- host: requests.${SECRET_DOMAIN}
paths:
Expand All @@ -81,3 +81,13 @@ spec:
existingClaim: *app
globalMounts:
- path: /app/config
cache:
existingClaim: jellyseerr-cache
globalMounts:
- path: /app/config/cache
logs:
type: emptyDir
globalMounts:
- path: /app/config/logs
tmp:
type: emptyDir
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./externalsecret.yaml
- ./helmrelease.yaml
- ./pvc.yaml
- ../../../../../shared/templates/gatus/external
- ../../../../../shared/templates/volsync
11 changes: 11 additions & 0 deletions kubernetes/main/apps/media/jellyseerr/app/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jellyseerr-cache
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 15Gi
storageClassName: ceph-block
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app overseerr
name: &app jellyseerr
namespace: flux-system
spec:
targetNamespace: media
Expand All @@ -12,7 +12,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: volsync
path: ./kubernetes/main/apps/media/overseerr/app
path: ./kubernetes/main/apps/media/jellyseerr/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/media/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ resources:
- ./namespace.yaml
# Flux-Kustomizations
- ./ersatztv/ks.yaml
- ./jellyseerr/ks.yaml
- ./kavita/ks.yaml
- ./komga/ks.yaml
# - ./kyoo/ks.yaml
- ./maintainerr/ks.yaml
- ./overseerr/ks.yaml
- ./plex/ks.yaml
- ./tautulli/ks.yaml
- ./wizarr/ks.yaml
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/media/wizarr/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: plex
- name: overseerr
- name: jellyseerr
- name: volsync
path: ./kubernetes/main/apps/media/wizarr/app
prune: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
HOMEPAGE_VAR_SABNZBD_TOKEN: "{{ .SABNZBD_API_KEY }}"
HOMEPAGE_VAR_SONARR_TOKEN: "{{ .SONARR_API_KEY }}"
## Media
HOMEPAGE_VAR_OVERSEERR_TOKEN: "{{ .OVERSEERR_API_KEY }}"
HOMEPAGE_VAR_JELLYSEERR_TOKEN: "{{ .JELLYSEERR_API_KEY }}"
HOMEPAGE_VAR_PLEX_TOKEN: "{{ .PLEX_API_KEY }}"
HOMEPAGE_VAR_TAUTULLI_TOKEN: "{{ .TAUTULLI_API_KEY }}"
HOMEPAGE_VAR_KAVITA_USERNAME: "{{ .KAVITA_USERNAME }}"
Expand All @@ -64,6 +64,8 @@ spec:
key: healthcheck
- extract:
key: home-assistant
- extract:
key: jellyseerr
- extract:
key: kapowarr
- extract:
Expand All @@ -74,8 +76,6 @@ spec:
key: lubelog
- extract:
key: mylar
- extract:
key: overseerr
- extract:
key: paperless
- extract:
Expand Down

0 comments on commit 4e392ea

Please sign in to comment.