mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
feat(k8s): expose generated as attrs and not as json file
This commit is contained in:
parent
dd9b3c3a5b
commit
ed240c3b5f
1 changed files with 2 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ in {
|
|||
) config.kubernetes.api.resources);
|
||||
|
||||
options.kubernetes.generated = mkOption {
|
||||
type = types.package;
|
||||
type = types.attrs;
|
||||
description = "Generated json file";
|
||||
};
|
||||
|
||||
|
|
@ -204,5 +204,5 @@ in {
|
|||
metadata.labels."kubenix/build" = listHash;
|
||||
}) kubernetesList.items;
|
||||
};
|
||||
in pkgs.writeText "resources.json" (builtins.toJSON hashedList);
|
||||
in hashedList;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue