mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 21:16:15 +01:00
03b54bd52b
Signed-off-by: magic_rb <magic_rb@redalder.org>
37 lines
889 B
Nix
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";
|
|
}
|
|
];
|
|
}
|