dotfiles/terranix/prepare/kubernetes.nix

24 lines
451 B
Nix
Raw Normal View History

{
inputs,
pkgs,
paths,
...
}: {
resource."kubernetes_namespace"."example" = {
metadata = {
name = "metallb-system";
};
};
module."kubernetes" = {
source =
inputs.uk3s-nix.legacyPackages.${pkgs.stdenv.system}.helm2nix2terraform
"base"
"${paths.root}/terranix/prepare/kubernetes"
{
predicate = chart: name: manifest:
manifest.kind == "CustomResourceDefinition";
};
};
}