dotfiles/terranix/main/kubernetes/default.nix

31 lines
657 B
Nix
Raw Normal View History

{
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"
];
};
};
})
];
}