feat(k8s): rename variable

This commit is contained in:
Jaka Hudoklin 2019-03-08 23:28:48 +01:00
parent 4b96377e42
commit 4f3ab41cf5
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95

View file

@ -110,7 +110,7 @@ let
indexOf = lst: value:
head (filter (v: v != -1) (imap0 (i: v: if v == value then i else -1) lst));
customResourceModules = map (cr: {config, ...}: let
customResourceOptions = map (cr: {config, ...}: let
module = {name, ...}: {
imports = getDefaults cr.resource cr.group cr.version cr.kind;
options = {
@ -187,7 +187,7 @@ in {
imports = [
(./generated + ''/v'' + cfg.version + ".nix")
apiOptions
] ++ customResourceModules;
] ++ customResourceOptions;
};
default = {};
};