bazarr subcleaner

This commit is contained in:
auricom
2022-12-26 12:01:26 +01:00
parent 2ae957adad
commit a6351b4a55
3 changed files with 27 additions and 0 deletions

View File

@@ -65,6 +65,10 @@ spec:
config:
enabled: true
existingClaim: bazarr-config
add-ons:
enabled: true
type: emptyDir
mountPath: /add-ons
video:
enabled: true
type: nfs

View File

@@ -7,3 +7,5 @@ resources:
- ./secret.sops.yaml
- ./volume.yaml
- ./helmrelease.yaml
patchesStrategicMerge:
- ./patches/subcleaner.yaml

View File

@@ -0,0 +1,21 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: bazarr
namespace: default
spec:
values:
additionalContainers:
subcleaner:
name: subcleaner
image: k8s.gcr.io/git-sync/git-sync:v3.6.2
args:
- --repo=https://github.com/KBlixt/subcleaner.git
- --branch=master
- --depth=1
- --root=/add-ons/subcleaner
volumeMounts:
- name: add-ons
mountPath: /add-ons