feat(chart): set the Deezer ARL from values
CI / chart (push) Successful in 2s
CI / test (push) Successful in 1m59s
CI / chart-push (push) Successful in 5s
CI / image (push) Successful in 3m35s

- new deezer.arl value rendered as DEEZER_ARL
- existingSecret and arl are mutually exclusive
- values.local.yaml is gitignored; README documents both options
- chart 0.4.1 and a chart check for the new value
This commit is contained in:
TapTap committed 2026-11-17 16:10:56 +00:00
1 parent 26c41cc7d9
commit de1e95bfc6
6 files changed
+67 -5

No files matched your search

+1 -1
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: audiomanager
description: Mood-first self-hosted music server
type: application
version: 0.4.0
version: 0.4.1
appVersion: "0.1.0"
@@ -4,6 +4,9 @@
{{- if not (has (int .Values.deezer.quality) (list 0 1)) }}
{{- fail "deezer.quality must be 0 (128 kbps) or 1 (320 kbps)" }}
{{- end }}
{{- if and .Values.deezer.arl .Values.deezer.existingSecret }}
{{- fail "set only one of deezer.arl and deezer.existingSecret" }}
{{- end }}
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -65,6 +68,9 @@ spec:
name: {{ .Values.deezer.existingSecret }}
key: {{ .Values.deezer.key }}
optional: true
{{- else if .Values.deezer.arl }}
- name: DEEZER_ARL
value: {{ .Values.deezer.arl | quote }}
{{- end }}
{{- with .Values.env }}
{{- toYaml . | nindent 12 }}
+11 -3
View File
@@ -21,13 +21,21 @@ users:
key: users.yaml
# Default catalog for new moods. Users can switch each mood between Deezer and
# YouTube Music. Deezer needs an ARL cookie in a secret.
# YouTube Music. Deezer needs an ARL cookie: either `deezer.arl` below or a
# Secret referenced by `deezer.existingSecret`. Leave both empty to use
# YouTube Music only.
defaultSource: deezer
deezer:
# Create this secret with `kubectl create secret generic audiomanager-deezer
# --from-literal=arl=...`. Leave it empty to use YouTube Music only.
# Option A (recommended on a shared machine): a Secret you manage separately.
# kubectl -n audiomanager create secret generic audiomanager-deezer \
# --from-literal=arl='<arl>'
existingSecret: ""
key: arl
# Option B: the ARL directly in values. It is stored in plaintext in this
# file, in `helm get values` and in the release Secret, so keep this file out
# of git (or pass it as `--set deezer.arl="$DEEZER_ARL"` instead).
# Set only one of `arl` and `existingSecret`.
arl: ""
# 0 = 128 kbps MP3 (Deezer Free), 1 = 320 kbps MP3 (Deezer Premium).
quality: 0
apiBase: https://api.deezer.com