Files
auricom-home-cluster/kubernetes/apps/default/music-transcode/app/helm-release.yaml
feisar-bot 5fc4a86bae ⬆️ Update chart app-template to 2.2.0
| datasource | package      | from  | to    |
| ---------- | ------------ | ----- | ----- |
| helm       | app-template | 2.0.3 | 2.2.0 |
2023-11-11 15:57:58 +01:00

90 lines
2.2 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: music-transcode
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.2.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
type: cronjob
cronjob:
concurrencyPolicy: Forbid
schedule: "@daily"
containers:
main:
image:
repository: ghcr.io/auricom/freac
tag: 1.1.7@sha256:2f7f1997e5437122fe0140601e0fe609777654243b0f2903f3d937794f6e31e0
command:
- "/bin/bash"
- "-c"
- |
#!/bin/bash
set -o errexit
set -o nounset
cd /app
/app/transcode.sh -c
/app/transcode.sh -r
env:
TRANSCODE_INPUT_DIR: /mnt/music/
TRANSCODE_OUTPUT_DIR: /mnt/music_transcoded/
TRANSCODE_FREAC_BIN: /app/freaccmd
service:
main:
enabled: false
persistence:
scripts:
type: configMap
name: music-transcode-configmap
defaultMode: 0775
globalMounts:
- path: /app/transcode.sh
subPath: transcode.sh
readOnly: true
exclude:
type: configMap
name: music-transcode-configmap
defaultMode: 0775
globalMounts:
- path: /app/transcode_exclude.cfg
subPath: transcode_exclude.cfg
readOnly: true
music:
type: nfs
path: /mnt/storage/music
server: ${LOCAL_LAN_TRUENAS}
globalMounts:
- path: /mnt/music
music-transcoded:
type: nfs
path: /mnt/storage/music_transcoded
server: ${LOCAL_LAN_TRUENAS}
globalMounts:
- path: /mnt/music_transcoded