feat(k8s): allow custom resources without module definition

This commit is contained in:
Jaka Hudoklin 2019-03-13 18:04:02 +01:00
parent 10acd7a5db
commit afeef341a2
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95

View file

@ -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 = {};
};
};