Skip to content

Commit

Permalink
fix: increase bazarr memory and remove git-sync container
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Dec 24, 2024
1 parent ac6440e commit 492f0bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 49 deletions.
25 changes: 2 additions & 23 deletions kubernetes/main/apps/default/bazarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,15 @@ spec:
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
securityContext: &securityContext
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 1Gi
subcleaner:
image:
repository: registry.k8s.io/git-sync/git-sync
tag: v4.4.0@sha256:0330739a707a2969d617e859f096659ab6d149212658ac0ad7e550b59482ebf0
env:
GITSYNC_REPO: https://github.com/KBlixt/subcleaner
GITSYNC_REF: master
GITSYNC_PERIOD: 24h
GITSYNC_ROOT: /add-ons
resources:
requests:
cpu: 10m
limits:
memory: 128Mi
securityContext: *securityContext
memory: 4Gi
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down Expand Up @@ -120,11 +105,5 @@ spec:
path: /mnt/eros/Media
globalMounts:
- path: /media
scripts:
type: configMap
name: bazarr-scripts
defaultMode: 0775
globalMounts:
- readOnly: true
tmp:
type: emptyDir
8 changes: 0 additions & 8 deletions kubernetes/main/apps/default/bazarr/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,3 @@ resources:
- ./helmrelease.yaml
- ../../../../../shared/templates/gatus/guarded
- ../../../../../shared/templates/volsync
configMapGenerator:
- name: bazarr-scripts
files:
- subcleaner.sh=./resources/subcleaner.sh
generatorOptions:
disableNameSuffixHash: true
annotations:
kustomize.toolkit.fluxcd.io/substitute: disabled
18 changes: 0 additions & 18 deletions kubernetes/main/apps/default/bazarr/app/resources/subcleaner.sh

This file was deleted.

0 comments on commit 492f0bb

Please sign in to comment.