diff options
author | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-07-18 12:37:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 12:37:44 +0200 |
commit | 5672083461b6ae27dcfbc58b3c7e62d563f9c539 (patch) | |
tree | 212f7a91e37365a9fa2aeb399536b8b5e3e86826 | |
parent | ff49b1e85241fa35a7c019dfdc7b0933be02cea2 (diff) | |
parent | 6dd6f284153a72bc13b769b5dddd4b5a5e491959 (diff) | |
download | nixlib-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.nix | 3 |
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; }; - }; }; }; |