Skip to content

Commit

Permalink
refactors(recyclarr): updates version and storage
Browse files Browse the repository at this point in the history
  • Loading branch information
axeII committed Mar 31, 2024
1 parent c0c9af5 commit 970e2c8
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 54 deletions.
91 changes: 51 additions & 40 deletions kubernetes/apps/media/recyclarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,78 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: recyclarr
namespace: media
name: &app recyclarr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.6.0
sourceRef:
kind: HelmRepository
name: bjw-s-charts
namespace: flux-system
maxHistory: 2
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controller:
type: cronjob
annotations:
reloader.stakater.com/auto: "true"
cronjob:
schedule: "@daily"
image:
repository: ghcr.io/recyclarr/recyclarr
tag: 6.0.2
args:
- sync
env:
TZ: ${TIMEZONE}
envFrom:
- secretRef:
name: recyclarr-secret
service:
controllers:
main:
enabled: false
podSecurityContext:
runAsUser: ${USER_ID}
runAsGroup: ${USER_ID}
fsGroup: ${USER_ID}
fsGroupChangePolicy: OnRootMismatch
type: cronjob
cronjob:
schedule: "@daily"
timeZone: &timeZone ${TIMEZONE}
concurrencyPolicy: Forbid
successfulJobsHistory: 1
failedJobsHistory: 1
containers:
main:
image:
repository: ghcr.io/recyclarr/recyclarr
tag: 6.0.2@sha256:02add40feae0569401b5020528e06419b47046723d0bb4bef1e82325e9eefdad
args:
- sync
env:
COMPlus_EnableDiagnostics: 0
TZ: *timeZone
envFrom:
- secretRef:
name: recyclarr-secret
resources:
requests:
cpu: 10m
limits:
memory: 128Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
pod:
securityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
persistence:
config:
enabled: true
existingClaim: recyclarr-config
type: nfs
server: 192.168.69.69
path: /mnt/ThiccBoi/SiccBoi/data/recyclarr
config-file:
enabled: true
type: configMap
name: recyclarr-configmap
mountPath: /config/recyclarr.yml
subPath: recyclarr.yml
readOnly: true
resources:
requests:
cpu: 10m
memory: 50Mi
limits:
memory: 200Mi
globalMounts:
- path: /config/recyclarr.yml
subPath: recyclarr.yml
readOnly: true
service:
main:
enabled: false
1 change: 0 additions & 1 deletion kubernetes/apps/media/recyclarr/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: media
resources:
- ./pvc.yaml
- ./externalsecret.yaml
- ./helmrelease.yaml
configMapGenerator:
Expand Down
13 changes: 0 additions & 13 deletions kubernetes/apps/media/recyclarr/app/pvc.yaml

This file was deleted.

0 comments on commit 970e2c8

Please sign in to comment.