add overseerr and updated ks deps

This commit is contained in:
Joseph Hanson 2024-09-05 04:51:39 -05:00
parent 74d8d5b6d9
commit 9c77dc55cd
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
6 changed files with 140 additions and 3 deletions

View file

@ -0,0 +1,101 @@
---
# 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: overseerr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
values:
controllers:
overseerr:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/sct/overseerr
tag: 1.33.2@sha256:714ea6db2bc007a2262d112bef7eec74972eb33d9c72bddb9cbd98b8742de950
env:
TZ: America/Chicago
LOG_LEVEL: "info"
PORT: &port 80
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api/v1/status
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 2Gi
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
service:
app:
controller: overseerr
ports:
http:
port: *port
ingress:
app:
enabled: true
className: external-nginx
annotations:
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
external-dns.alpha.kubernetes.io/target: external.hsn.dev
hosts:
- host: &host overseerr.hsn.dev
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: overseerr
globalMounts:
- path: /app/config
tmp:
type: emptyDir

View file

@ -0,0 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ../../../../templates/gatus/external
- ../../../../templates/volsync

View file

@ -0,0 +1,28 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app overseerr
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/default/overseerr/app
prune: true
sourceRef:
kind: GitRepository
name: homelab
dependsOn:
- name: rook-ceph-cluster
- name: volsync
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 5Gi

View file

@ -13,7 +13,7 @@ spec:
dependsOn: dependsOn:
- name: crunchy-postgres-operator - name: crunchy-postgres-operator
- name: external-secrets-stores - name: external-secrets-stores
- name: openebs - name: rook-ceph-cluster
- name: volsync - name: volsync
path: ./kubernetes/apps/default/radarr/app path: ./kubernetes/apps/default/radarr/app
prune: true prune: true

View file

@ -12,7 +12,7 @@ spec:
app.kubernetes.io/name: *app app.kubernetes.io/name: *app
dependsOn: dependsOn:
- name: external-secrets-stores - name: external-secrets-stores
- name: openebs - name: rook-ceph-cluster
- name: volsync - name: volsync
path: ./kubernetes/apps/default/sabnzbd/app path: ./kubernetes/apps/default/sabnzbd/app
prune: true prune: true

View file

@ -14,7 +14,7 @@ spec:
- name: crunchy-postgres-operator - name: crunchy-postgres-operator
- name: external-secrets-stores - name: external-secrets-stores
- name: volsync - name: volsync
- name: openebs - name: rook-ceph-cluster
path: ./kubernetes/apps/default/sonarr/app path: ./kubernetes/apps/default/sonarr/app
prune: true prune: true
sourceRef: sourceRef: