From afeef341a22c5ee30ec32a7d7d7b22edf70fa237 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Wed, 13 Mar 2019 18:04:02 +0100 Subject: [PATCH] feat(k8s): allow custom resources without module definition --- modules/k8s.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/k8s.nix b/modules/k8s.nix index 3a8041e..cc217e2 100644 --- a/modules/k8s.nix +++ b/modules/k8s.nix @@ -135,7 +135,7 @@ let spec = mkOption { description = "Module spec"; - type = types.submodule cr.module; + type = types.either types.attrs (types.submodule cr.module); default = {}; }; };