From 5da7d1d571abfce0185111df2be4c565c0f738ca Mon Sep 17 00:00:00 2001 From: Christopher Tauchen Date: Tue, 3 Feb 2026 12:29:34 +0000 Subject: [PATCH] Fix Felix config for OS 3.31 --- .../components/FelixConfig/config-params.json | 60 +++++++++++++++++-- 1 file changed, 56 insertions(+), 4 deletions(-) diff --git a/calico_versioned_docs/version-3.31/_includes/components/FelixConfig/config-params.json b/calico_versioned_docs/version-3.31/_includes/components/FelixConfig/config-params.json index 3853a9dbba..2a8b2d9baa 100644 --- a/calico_versioned_docs/version-3.31/_includes/components/FelixConfig/config-params.json +++ b/calico_versioned_docs/version-3.31/_includes/components/FelixConfig/config-params.json @@ -726,6 +726,58 @@ { "Name": "Process: Logging", "Fields": [ + { + "Group": "Process: Logging", + "GroupWithSortPrefix": "00 Process: Logging", + "NameConfigFile": "LogActionRateLimit", + "NameEnvVar": "FELIX_LogActionRateLimit", + "NameYAML": "logActionRateLimit", + "NameGoAPI": "LogActionRateLimit", + "StringSchema": "String matching regex `^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$`", + "StringSchemaHTML": "String matching regex ^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$", + "StringDefault": "", + "ParsedDefault": "", + "ParsedDefaultJSON": "\"\"", + "ParsedType": "string", + "YAMLType": "string", + "YAMLSchema": "String matching the regular expression `^[1-9]\\d{0,3}/(?:second|minute|hour|day)$`.", + "YAMLEnumValues": null, + "YAMLSchemaHTML": "String matching the regular expression ^[1-9]\\d{0,3}/(?:second|minute|hour|day)$.", + "YAMLDefault": "", + "Required": false, + "OnParseFailure": "ReplaceWithDefault", + "AllowedConfigSources": "All", + "Description": "Sets the rate of hitting a Log action. The value must be in the format \"N/unit\",\nwhere N is a number and unit is one of: second, minute, hour, or day. For example: \"10/second\" or \"100/hour\".", + "DescriptionHTML": "

Sets the rate of hitting a Log action. The value must be in the format \"N/unit\",\nwhere N is a number and unit is one of: second, minute, hour, or day. For example: \"10/second\" or \"100/hour\".

", + "UserEditable": true, + "GoType": "*string" + }, + { + "Group": "Process: Logging", + "GroupWithSortPrefix": "00 Process: Logging", + "NameConfigFile": "LogActionRateLimitBurst", + "NameEnvVar": "FELIX_LogActionRateLimitBurst", + "NameYAML": "logActionRateLimitBurst", + "NameGoAPI": "LogActionRateLimitBurst", + "StringSchema": "Integer: [0,2^63-1], [9999,2^63-1]", + "StringSchemaHTML": "Integer: [0,263-1], [9999,263-1]", + "StringDefault": "5", + "ParsedDefault": "5", + "ParsedDefaultJSON": "5", + "ParsedType": "int", + "YAMLType": "integer", + "YAMLSchema": "Integer: [0,2^63-1], [9999,2^63-1]", + "YAMLEnumValues": null, + "YAMLSchemaHTML": "Integer: [0,263-1], [9999,263-1]", + "YAMLDefault": "5", + "Required": false, + "OnParseFailure": "ReplaceWithDefault", + "AllowedConfigSources": "All", + "Description": "Sets the rate limit burst of hitting a Log action when LogActionRateLimit is enabled.", + "DescriptionHTML": "

Sets the rate limit burst of hitting a Log action when LogActionRateLimit is enabled.

", + "UserEditable": true, + "GoType": "*int" + }, { "Group": "Process: Logging", "GroupWithSortPrefix": "00 Process: Logging", @@ -792,15 +844,15 @@ "ParsedDefaultJSON": "\"calico-packet\"", "ParsedType": "string", "YAMLType": "string", - "YAMLSchema": "String.", + "YAMLSchema": "String matching the regular expression `^([a-zA-Z0-9%: /_-])*$`.", "YAMLEnumValues": null, - "YAMLSchemaHTML": "String.", + "YAMLSchemaHTML": "String matching the regular expression ^([a-zA-Z0-9%: /_-])*$.", "YAMLDefault": "calico-packet", "Required": false, "OnParseFailure": "ReplaceWithDefault", "AllowedConfigSources": "All", - "Description": "The log prefix that Felix uses when rendering LOG rules.", - "DescriptionHTML": "

The log prefix that Felix uses when rendering LOG rules.

", + "Description": "The log prefix that Felix uses when rendering LOG rules. It is possible to use the following specifiers\nto include extra information in the log prefix.\n- %t: Tier name.\n- %k: Kind (short names).\n- %n: Policy or profile name.\n- %p: Policy or profile name (namespace/name for namespaced kinds or just name for non namespaced kinds).\nCalico includes \": \" characters at the end of the generated log prefix.\nNote that iptables shows up to 29 characters for the log prefix and nftables up to 127 characters. Extra characters are truncated.", + "DescriptionHTML": "

The log prefix that Felix uses when rendering LOG rules. It is possible to use the following specifiers\nto include extra information in the log prefix.\n- %t: Tier name.\n- %k: Kind (short names).\n- %n: Policy or profile name.\n- %p: Policy or profile name (namespace/name for namespaced kinds or just name for non namespaced kinds).\nCalico includes \": \" characters at the end of the generated log prefix.\nNote that iptables shows up to 29 characters for the log prefix and nftables up to 127 characters. Extra characters are truncated.

", "UserEditable": true, "GoType": "string" },