about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-07-18 12:37:44 +0200
committerGitHub <noreply@github.com>2018-07-18 12:37:44 +0200
commit5672083461b6ae27dcfbc58b3c7e62d563f9c539 (patch)
tree212f7a91e37365a9fa2aeb399536b8b5e3e86826
parentff49b1e85241fa35a7c019dfdc7b0933be02cea2 (diff)
parent6dd6f284153a72bc13b769b5dddd4b5a5e491959 (diff)
downloadnixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.tar
nixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.tar.gz
nixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.tar.bz2
nixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.tar.lz
nixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.tar.xz
nixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.tar.zst
nixlib-5672083461b6ae27dcfbc58b3c7e62d563f9c539.zip
Merge pull request #43728 from srhb/k8srbacfix
nixos/kubernetes: Don't lose rbac submodule with no explicit options
-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;
           };
-          
         };
       };
     };