dotfiles/terranix/main/kubernetes/generated/istio-base/default.ValidatingWebhookConfiguration.istiod-default-validator.nix
magic_rb 03b54bd52b
Use helm2nix2terraform to create nix files from helm charts
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-04-07 13:24:08 +02:00

37 lines
889 B
Nix

{
apiVersion = "admissionregistration.k8s.io/v1";
kind = "ValidatingWebhookConfiguration";
metadata = {
labels = {
app = "istiod";
istio = "istiod";
"istio.io/rev" = "1-20-2";
release = "istio-base";
};
name = "istiod-default-validator";
};
webhooks = [
{
admissionReviewVersions = ["v1beta1" "v1"];
clientConfig = {
service = {
name = "istiod-1-20-2";
namespace = "istio-system";
path = "/validate";
};
};
failurePolicy = "Ignore";
name = "validation.istio.io";
rules = [
{
apiGroups = ["security.istio.io" "networking.istio.io" "telemetry.istio.io" "extensions.istio.io"];
apiVersions = ["*"];
operations = ["CREATE" "UPDATE"];
resources = ["*"];
}
];
sideEffects = "None";
}
];
}