1
0
Fork 0

radio: allow setting master username/password

Change-Id: I30a99fbbf11da7dded48504b1689ef6e290e73fa
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1494
Reviewed-by: q3k <q3k@hackerspace.pl>
master
q3k 2023-02-28 01:16:27 +00:00 committed by q3k
parent 7572f0790c
commit 6f0d852568
1 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,10 @@ local kube = import "../../../kube/kube.libsonnet";
["username", cfg.icecast.relays[r].username]
] else []) + (if cfg.icecast.relays[r].password != null then [
["password", cfg.icecast.relays[r].password],
] else []) + (if cfg.icecast.relays[r].masterUsername != null then [
["master-username", cfg.icecast.relays[r].masterUsername]
] else []) + (if cfg.icecast.relays[r].masterPassword != null then [
["master-password", cfg.icecast.relays[r].masterPassword],
] else [])
for r in std.objectFields(cfg.icecast.relays)
]),