dotfiles/terranix/main/kubernetes/generated/istio-istiod/default.MutatingWebhookConfiguration.istio-sidecar-injector-1-20-2.nix
magic_rb 69b84c09af
Bump uk3s.nix
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-04-07 14:02:17 +02:00

110 lines
2.6 KiB
Nix

{
apiVersion = "admissionregistration.k8s.io/v1";
kind = "MutatingWebhookConfiguration";
metadata = {
labels = {
app = "sidecar-injector";
"install.operator.istio.io/owning-resource" = "unknown";
"istio.io/rev" = "1-20-2";
"operator.istio.io/component" = "Pilot";
release = "istio-istiod";
};
name = "istio-sidecar-injector-1-20-2";
};
webhooks = [
{
admissionReviewVersions = ["v1beta1" "v1"];
clientConfig = {
service = {
name = "istiod-1-20-2";
namespace = "istio-system";
path = "/inject";
port = 443;
};
};
failurePolicy = "Fail";
name = "rev.namespace.sidecar-injector.istio.io";
namespaceSelector = {
matchExpressions = [
{
key = "istio.io/rev";
operator = "In";
values = ["1-20-2"];
}
{
key = "istio-injection";
operator = "DoesNotExist";
}
];
};
objectSelector = {
matchExpressions = [
{
key = "sidecar.istio.io/inject";
operator = "NotIn";
values = ["false"];
}
];
};
reinvocationPolicy = "Never";
rules = [
{
apiGroups = [""];
apiVersions = ["v1"];
operations = ["CREATE"];
resources = ["pods"];
}
];
sideEffects = "None";
}
{
admissionReviewVersions = ["v1beta1" "v1"];
clientConfig = {
service = {
name = "istiod-1-20-2";
namespace = "istio-system";
path = "/inject";
port = 443;
};
};
failurePolicy = "Fail";
name = "rev.object.sidecar-injector.istio.io";
namespaceSelector = {
matchExpressions = [
{
key = "istio.io/rev";
operator = "DoesNotExist";
}
{
key = "istio-injection";
operator = "DoesNotExist";
}
];
};
objectSelector = {
matchExpressions = [
{
key = "sidecar.istio.io/inject";
operator = "NotIn";
values = ["false"];
}
{
key = "istio.io/rev";
operator = "In";
values = ["1-20-2"];
}
];
};
reinvocationPolicy = "Never";
rules = [
{
apiGroups = [""];
apiVersions = ["v1"];
operations = ["CREATE"];
resources = ["pods"];
}
];
sideEffects = "None";
}
];
}