feat(chart): set the Deezer ARL from values
- 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:
1 parent
26c41cc7d9
commit
de1e95bfc6
6 files changed
+67
-5
No files matched your search
@@ -95,7 +95,7 @@ Everything is environment variables:
|
||||
| `YTDLP_PATH` | `yt-dlp` | YouTube Music downloader / search binary |
|
||||
| `STREAMRIP_PATH` | `rip` | Deezer downloader (`streamrip`) |
|
||||
| `DEFAULT_SOURCE` | `deezer` | Source for new moods: `deezer` or `youtube` |
|
||||
| `DEEZER_ARL` | empty | Deezer account cookie used for downloads |
|
||||
| `DEEZER_ARL` | empty | Deezer account cookie used for downloads (chart: `deezer.arl` or `deezer.existingSecret`) |
|
||||
| `DEEZER_QUALITY` | `0` | `0` = 128 kbps MP3, `1` = 320 kbps MP3 |
|
||||
| `DEEZER_API_BASE` | `https://api.deezer.com` | Public Deezer API base |
|
||||
|
||||
@@ -277,6 +277,33 @@ helm upgrade --install audiomanager charts/audiomanager \
|
||||
upgrade. CI builds `:latest` and `:sha-<commit>` on every push to `main`, and
|
||||
publishes the packaged chart.
|
||||
|
||||
### Setting the Deezer ARL in a values file
|
||||
|
||||
`deezer.arl` takes the cookie directly, so no Secret is needed:
|
||||
|
||||
```yaml
|
||||
# values.local.yaml (gitignored)
|
||||
image:
|
||||
tag: sha-<commit>
|
||||
users:
|
||||
existingSecret: audiomanager-users
|
||||
defaultSource: deezer
|
||||
deezer:
|
||||
arl: "<arl>"
|
||||
quality: 0
|
||||
```
|
||||
|
||||
```bash
|
||||
helm upgrade --install audiomanager charts/audiomanager \
|
||||
--namespace audiomanager --create-namespace \
|
||||
-f values.local.yaml
|
||||
```
|
||||
|
||||
Set only one of `deezer.arl` and `deezer.existingSecret`; the chart fails
|
||||
otherwise. A plain value is stored in clear text in your values file, in
|
||||
`helm get values` and in the release Secret, so use `deezer.existingSecret` on a
|
||||
shared cluster or an untracked `values.local.yaml` here.
|
||||
|
||||
Before deploying the mood-first version over an old instance, wipe the old
|
||||
database and media: V8 drops the content, but the old mounted files are no
|
||||
longer referenced and should be removed by the operator. The old chart used the
|
||||
|
||||
Reference in new issue
Block a user