Merge pull request #43728 from srhb/k8srbacfix

nixos/kubernetes: Don't lose rbac submodule with no explicit options
This commit is contained in:
Sarah Brofeldt 2018-07-18 12:37:44 +02:00 committed by GitHub
commit 5672083461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ in {
rbac = mkOption { rbac = mkOption {
description = "Role-based access control (RBAC) options"; description = "Role-based access control (RBAC) options";
default = {};
type = types.submodule { type = types.submodule {
options = { options = {
enable = mkOption { enable = mkOption {
description = "Whether to enable role based access control is enabled for kubernetes dashboard"; description = "Whether to enable role based access control is enabled for kubernetes dashboard";
@ -24,7 +24,6 @@ in {
type = types.bool; type = types.bool;
default = false; default = false;
}; };
}; };
}; };
}; };