summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-07-18 11:49:14 +0200
committerSarah Brofeldt <sbrofeldt@gmail.com>2018-07-18 12:02:06 +0200
commit6dd6f284153a72bc13b769b5dddd4b5a5e491959 (patch)
treed911908b46142d3cc59f0aa98470e169b3b7b42c /nixos
parentdae9cf6106da19f79a39714f183ed253c62b32c5 (diff)
downloadnixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.tar
nixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.tar.gz
nixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.tar.bz2
nixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.tar.lz
nixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.tar.xz
nixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.tar.zst
nixlib-6dd6f284153a72bc13b769b5dddd4b5a5e491959.zip
nixos/kubernetes: Don't lose rbac submodule with no explicit options
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/cluster/kubernetes/dashboard.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/cluster/kubernetes/dashboard.nix b/nixos/modules/services/cluster/kubernetes/dashboard.nix
index 6d9faada4401..cbd6e8f7bf73 100644
--- a/nixos/modules/services/cluster/kubernetes/dashboard.nix
+++ b/nixos/modules/services/cluster/kubernetes/dashboard.nix
@@ -10,8 +10,8 @@ in {
 
     rbac = mkOption {
       description = "Role-based access control (RBAC) options";
+      default = {};
       type = types.submodule {
-
         options = {
           enable = mkOption {
             description = "Whether to enable role based access control is enabled for kubernetes dashboard";
@@ -24,7 +24,6 @@ in {
             type = types.bool;
             default = false;
           };
-          
         };
       };
     };