From 6dd6f284153a72bc13b769b5dddd4b5a5e491959 Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Wed, 18 Jul 2018 11:49:14 +0200 Subject: nixos/kubernetes: Don't lose rbac submodule with no explicit options --- nixos/modules/services/cluster/kubernetes/dashboard.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/cluster/kubernetes/dashboard.nix b/nixos/modules/services/cluster/kubernetes/dashboard.nix index 6d9faada44018..cbd6e8f7bf733 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; }; - }; }; }; -- cgit 1.4.1