forked from hswaw/hscloud
radio: allow setting master username/password
Change-Id: I30a99fbbf11da7dded48504b1689ef6e290e73fa Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1494 Reviewed-by: q3k <q3k@hackerspace.pl>
This commit is contained in:
parent
7572f0790c
commit
6f0d852568
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
]),
|
||||
|
|
Loading…
Reference in a new issue