dotfiles/terranix/main/kubernetes/default.nix
magic_rb 0ccf0cb0c6
Redo terranix helm imports
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-04-13 19:38:44 +02:00

30 lines
657 B
Nix

{
inputs,
pkgs,
lib,
elib,
...
}: let
in {
imports = [
./website.nix
(elib.terraformModule {
name = "generated";
source = {...}: {
imports = [
(inputs.uk3s-nix.legacyPackages.${pkgs.stdenv.system}.helm2nix2terraform {
predicate = chart: name: manifest:
manifest.kind != "CustomResourceDefinition";
path = ./generated;
})
];
resource."kubernetes_manifest"."default_ValidatingWebhookConfiguration_istiod-default-validator" = {
computed_fields = [
"webhooks[0].failurePolicy"
];
};
};
})
];
}