dotfiles/terranix/main/kubernetes/generated/metallb/default.CustomResourceDefinition.bfdprofiles.metallb.io.nix

120 lines
5 KiB
Nix
Raw Normal View History

{
apiVersion = "apiextensions.k8s.io/v1";
kind = "CustomResourceDefinition";
metadata = {
annotations = {"controller-gen.kubebuilder.io/version" = "v0.11.1";};
creationTimestamp = null;
name = "bfdprofiles.metallb.io";
};
spec = {
group = "metallb.io";
names = {
kind = "BFDProfile";
listKind = "BFDProfileList";
plural = "bfdprofiles";
singular = "bfdprofile";
};
scope = "Namespaced";
versions = [
{
additionalPrinterColumns = [
{
jsonPath = ".spec.passiveMode";
name = "Passive Mode";
type = "boolean";
}
{
jsonPath = ".spec.transmitInterval";
name = "Transmit Interval";
type = "integer";
}
{
jsonPath = ".spec.receiveInterval";
name = "Receive Interval";
type = "integer";
}
{
jsonPath = ".spec.detectMultiplier";
name = "Multiplier";
type = "integer";
}
];
name = "v1beta1";
schema = {
openAPIV3Schema = {
description = "BFDProfile represents the settings of the bfd session that can be optionally associated with a BGP session.";
properties = {
apiVersion = {
description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources";
type = "string";
};
kind = {
description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds";
type = "string";
};
metadata = {type = "object";};
spec = {
description = "BFDProfileSpec defines the desired state of BFDProfile.";
properties = {
detectMultiplier = {
description = "Configures the detection multiplier to determine packet loss. The remote transmission interval will be multiplied by this value to determine the connection loss detection timer.";
format = "int32";
maximum = 255;
minimum = 2;
type = "integer";
};
echoInterval = {
description = "Configures the minimal echo receive transmission interval that this system is capable of handling in milliseconds. Defaults to 50ms";
format = "int32";
maximum = 60000;
minimum = 10;
type = "integer";
};
echoMode = {
description = "Enables or disables the echo transmission mode. This mode is disabled by default, and not supported on multi hops setups.";
type = "boolean";
};
minimumTtl = {
description = "For multi hop sessions only: configure the minimum expected TTL for an incoming BFD control packet.";
format = "int32";
maximum = 254;
minimum = 1;
type = "integer";
};
passiveMode = {
description = "Mark session as passive: a passive session will not attempt to start the connection and will wait for control packets from peer before it begins replying.";
type = "boolean";
};
receiveInterval = {
description = "The minimum interval that this system is capable of receiving control packets in milliseconds. Defaults to 300ms.";
format = "int32";
maximum = 60000;
minimum = 10;
type = "integer";
};
transmitInterval = {
description = "The minimum transmission interval (less jitter) that this system wants to use to send BFD control packets in milliseconds. Defaults to 300ms";
format = "int32";
maximum = 60000;
minimum = 10;
type = "integer";
};
};
type = "object";
};
status = {
description = "BFDProfileStatus defines the observed state of BFDProfile.";
type = "object";
};
};
type = "object";
};
};
served = true;
storage = true;
subresources = {status = {};};
}
];
};
}