radio: allow setting master username/password

Change-Id: I30a99fbbf11da7dded48504b1689ef6e290e73fa
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1494
Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/app/radio/kube/radio.libsonnet b/app/radio/kube/radio.libsonnet
index aa2d57f..d4c186c 100644
--- a/app/radio/kube/radio.libsonnet
+++ b/app/radio/kube/radio.libsonnet
@@ -135,6 +135,10 @@
                     ["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)
             ]),