--- # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: music-transcode namespace: default spec: interval: 30m chart: spec: chart: app-template version: 2.6.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:f9d46aea10329afec50757b172418f8e5e9d2f5e8ddf38061b29e94d610090e1 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: 192.168.9.10 globalMounts: - path: /mnt/music music-transcoded: type: nfs path: /mnt/storage/music_transcoded server: 192.168.9.10 globalMounts: - path: /mnt/music_transcoded