auto-update crds catalog

This commit is contained in:
Drone Shipper 2023-12-15 20:33:04 +00:00
parent 9c82e3c299
commit 41baa838d3
4 changed files with 125 additions and 13 deletions

View File

@ -25,14 +25,18 @@
"cidr": { "cidr": {
"type": "string" "type": "string"
}, },
"interface": {
"type": "string"
},
"matchOperator": { "matchOperator": {
"type": "string" "type": "string"
},
"source": {
"type": "string"
} }
}, },
"required": [ "required": [
"action", "action"
"cidr",
"matchOperator"
], ],
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
@ -50,14 +54,18 @@
"cidr": { "cidr": {
"type": "string" "type": "string"
}, },
"interface": {
"type": "string"
},
"matchOperator": { "matchOperator": {
"type": "string" "type": "string"
},
"source": {
"type": "string"
} }
}, },
"required": [ "required": [
"action", "action"
"cidr",
"matchOperator"
], ],
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
@ -75,14 +83,18 @@
"cidr": { "cidr": {
"type": "string" "type": "string"
}, },
"interface": {
"type": "string"
},
"matchOperator": { "matchOperator": {
"type": "string" "type": "string"
},
"source": {
"type": "string"
} }
}, },
"required": [ "required": [
"action", "action"
"cidr",
"matchOperator"
], ],
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
@ -100,14 +112,18 @@
"cidr": { "cidr": {
"type": "string" "type": "string"
}, },
"interface": {
"type": "string"
},
"matchOperator": { "matchOperator": {
"type": "string" "type": "string"
},
"source": {
"type": "string"
} }
}, },
"required": [ "required": [
"action", "action"
"cidr",
"matchOperator"
], ],
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false

View File

@ -32,8 +32,21 @@
], ],
"type": "string" "type": "string"
}, },
"bpfCTLBLogFilter": {
"description": "BPFCTLBLogFilter specifies, what is logged by connect time load balancer when BPFLogLevel is debug. Currently has to be specified as 'all' when BPFLogFilters is set to see CTLB logs. [Default: unset - means logs are emitted when BPFLogLevel id debug and BPFLogFilters not set.]",
"type": "string"
},
"bpfConnectTimeLoadBalancing": {
"description": "BPFConnectTimeLoadBalancing when in BPF mode, controls whether Felix installs the connect-time load balancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services and it improves the performance of pod-to-service connections.When set to TCP, connect time load balancing is available only for services with TCP ports. [Default: TCP]",
"enum": [
"TCP",
"Enabled",
"Disabled"
],
"type": "string"
},
"bpfConnectTimeLoadBalancingEnabled": { "bpfConnectTimeLoadBalancingEnabled": {
"description": "BPFConnectTimeLoadBalancingEnabled when in BPF mode, controls whether Felix installs the connection-time load balancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services and it improves the performance of pod-to-service connections. The only reason to disable it is for debugging purposes. [Default: true]", "description": "BPFConnectTimeLoadBalancingEnabled when in BPF mode, controls whether Felix installs the connection-time load balancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services and it improves the performance of pod-to-service connections. The only reason to disable it is for debugging purposes. This will be deprecated. Use BPFConnectTimeLoadBalancing [Default: true]",
"type": "boolean" "type": "boolean"
}, },
"bpfDSROptoutCIDRs": { "bpfDSROptoutCIDRs": {
@ -47,6 +60,10 @@
"description": "BPFDataIfacePattern is a regular expression that controls which interfaces Felix should attach BPF programs to in order to catch traffic to/from the network. This needs to match the interfaces that Calico workload traffic flows over as well as any interfaces that handle incoming traffic to nodeports and services from outside the cluster. It should not match the workload interfaces (usually named cali...).", "description": "BPFDataIfacePattern is a regular expression that controls which interfaces Felix should attach BPF programs to in order to catch traffic to/from the network. This needs to match the interfaces that Calico workload traffic flows over as well as any interfaces that handle incoming traffic to nodeports and services from outside the cluster. It should not match the workload interfaces (usually named cali...).",
"type": "string" "type": "string"
}, },
"bpfDisableGROForIfaces": {
"description": "BPFDisableGROForIfaces is a regular expression that controls which interfaces Felix should disable the Generic Receive Offload [GRO] option. It should not match the workload interfaces (usually named cali...).",
"type": "string"
},
"bpfDisableUnprivileged": { "bpfDisableUnprivileged": {
"description": "BPFDisableUnprivileged, if enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable unprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and cannot insert their own BPF programs to interfere with Calico's. [Default: true]", "description": "BPFDisableUnprivileged, if enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable unprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and cannot insert their own BPF programs to interfere with Calico's. [Default: true]",
"type": "boolean" "type": "boolean"
@ -57,6 +74,7 @@
}, },
"bpfEnforceRPF": { "bpfEnforceRPF": {
"description": "BPFEnforceRPF enforce strict RPF on all host interfaces with BPF programs regardless of what is the per-interfaces or global setting. Possible values are Disabled, Strict or Loose. [Default: Loose]", "description": "BPFEnforceRPF enforce strict RPF on all host interfaces with BPF programs regardless of what is the per-interfaces or global setting. Possible values are Disabled, Strict or Loose. [Default: Loose]",
"pattern": "^(?i)(Disabled|Strict|Loose)?$",
"type": "string" "type": "string"
}, },
"bpfExtToServiceConnmark": { "bpfExtToServiceConnmark": {
@ -65,12 +83,28 @@
}, },
"bpfExternalServiceMode": { "bpfExternalServiceMode": {
"description": "BPFExternalServiceMode in BPF mode, controls how connections from outside the cluster to services (node ports and cluster IPs) are forwarded to remote workloads. If set to \"Tunnel\" then both request and response traffic is tunneled to the remote node. If set to \"DSR\", the request traffic is tunneled but the response traffic is sent directly from the remote node. In \"DSR\" mode, the remote node appears to use the IP of the ingress node; this requires a permissive L2 network. [Default: Tunnel]", "description": "BPFExternalServiceMode in BPF mode, controls how connections from outside the cluster to services (node ports and cluster IPs) are forwarded to remote workloads. If set to \"Tunnel\" then both request and response traffic is tunneled to the remote node. If set to \"DSR\", the request traffic is tunneled but the response traffic is sent directly from the remote node. In \"DSR\" mode, the remote node appears to use the IP of the ingress node; this requires a permissive L2 network. [Default: Tunnel]",
"pattern": "^(?i)(Tunnel|DSR)?$",
"type": "string" "type": "string"
}, },
"bpfForceTrackPacketsFromIfaces": {
"description": "BPFForceTrackPacketsFromIfaces in BPF mode, forces traffic from these interfaces to skip Calico's iptables NOTRACK rule, allowing traffic from those interfaces to be tracked by Linux conntrack. Should only be used for interfaces that are not used for the Calico fabric. For example, a docker bridge device for non-Calico-networked containers. [Default: docker+]",
"items": {
"type": "string"
},
"type": "array"
},
"bpfHostConntrackBypass": { "bpfHostConntrackBypass": {
"description": "BPFHostConntrackBypass Controls whether to bypass Linux conntrack in BPF mode for workloads and services. [Default: true - bypass Linux conntrack]", "description": "BPFHostConntrackBypass Controls whether to bypass Linux conntrack in BPF mode for workloads and services. [Default: true - bypass Linux conntrack]",
"type": "boolean" "type": "boolean"
}, },
"bpfHostNetworkedNATWithoutCTLB": {
"description": "BPFHostNetworkedNATWithoutCTLB when in BPF mode, controls whether Felix does a NAT without CTLB. This along with BPFConnectTimeLoadBalancing determines the CTLB behavior. [Default: Enabled]",
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
"bpfKubeProxyEndpointSlicesEnabled": { "bpfKubeProxyEndpointSlicesEnabled": {
"description": "BPFKubeProxyEndpointSlicesEnabled in BPF mode, controls whether Felix's embedded kube-proxy accepts EndpointSlices or not.", "description": "BPFKubeProxyEndpointSlicesEnabled in BPF mode, controls whether Felix's embedded kube-proxy accepts EndpointSlices or not.",
"type": "boolean" "type": "boolean"
@ -81,14 +115,23 @@
}, },
"bpfKubeProxyMinSyncPeriod": { "bpfKubeProxyMinSyncPeriod": {
"description": "BPFKubeProxyMinSyncPeriod, in BPF mode, controls the minimum time between updates to the dataplane for Felix's embedded kube-proxy. Lower values give reduced set-up latency. Higher values reduce Felix CPU usage by batching up more work. [Default: 1s]", "description": "BPFKubeProxyMinSyncPeriod, in BPF mode, controls the minimum time between updates to the dataplane for Felix's embedded kube-proxy. Lower values give reduced set-up latency. Higher values reduce Felix CPU usage by batching up more work. [Default: 1s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"bpfL3IfacePattern": { "bpfL3IfacePattern": {
"description": "BPFL3IfacePattern is a regular expression that allows to list tunnel devices like wireguard or vxlan (i.e., L3 devices) in addition to BPFDataIfacePattern. That is, tunnel interfaces not created by Calico, that Calico workload traffic flows over as well as any interfaces that handle incoming traffic to nodeports and services from outside the cluster.", "description": "BPFL3IfacePattern is a regular expression that allows to list tunnel devices like wireguard or vxlan (i.e., L3 devices) in addition to BPFDataIfacePattern. That is, tunnel interfaces not created by Calico, that Calico workload traffic flows over as well as any interfaces that handle incoming traffic to nodeports and services from outside the cluster.",
"type": "string" "type": "string"
}, },
"bpfLogFilters": {
"additionalProperties": {
"type": "string"
},
"description": "BPFLogFilters is a map of key=values where the value is a pcap filter expression and the key is an interface name with 'all' denoting all interfaces, 'weps' all workload endpoints and 'heps' all host endpoints. \n When specified as an env var, it accepts a comma-separated list of key=values. [Default: unset - means all debug logs are emitted]",
"type": "object"
},
"bpfLogLevel": { "bpfLogLevel": {
"description": "BPFLogLevel controls the log level of the BPF programs when in BPF dataplane mode. One of \"Off\", \"Info\", or \"Debug\". The logs are emitted to the BPF trace pipe, accessible with the command `tc exec bpf debug`. [Default: Off].", "description": "BPFLogLevel controls the log level of the BPF programs when in BPF dataplane mode. One of \"Off\", \"Info\", or \"Debug\". The logs are emitted to the BPF trace pipe, accessible with the command `tc exec bpf debug`. [Default: Off].",
"pattern": "^(?i)(Off|Info|Debug)?$",
"type": "string" "type": "string"
}, },
"bpfMapSizeConntrack": { "bpfMapSizeConntrack": {
@ -137,6 +180,7 @@
}, },
"chainInsertMode": { "chainInsertMode": {
"description": "ChainInsertMode controls whether Felix hooks the kernel's top-level iptables chains by inserting a rule at the top of the chain or by appending a rule at the bottom. insert is the safe default since it prevents Calico's rules from being bypassed. If you switch to append mode, be sure that the other rules in the chains signal acceptance by falling through to the Calico rules, otherwise the Calico policy will be bypassed. [Default: insert]", "description": "ChainInsertMode controls whether Felix hooks the kernel's top-level iptables chains by inserting a rule at the top of the chain or by appending a rule at the bottom. insert is the safe default since it prevents Calico's rules from being bypassed. If you switch to append mode, be sure that the other rules in the chains signal acceptance by falling through to the Calico rules, otherwise the Calico policy will be bypassed. [Default: insert]",
"pattern": "^(?i)(insert|append)?$",
"type": "string" "type": "string"
}, },
"dataplaneDriver": { "dataplaneDriver": {
@ -154,13 +198,16 @@
"type": "string" "type": "string"
}, },
"debugSimulateCalcGraphHangAfter": { "debugSimulateCalcGraphHangAfter": {
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"debugSimulateDataplaneHangAfter": { "debugSimulateDataplaneHangAfter": {
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"defaultEndpointToHostAction": { "defaultEndpointToHostAction": {
"description": "DefaultEndpointToHostAction controls what happens to traffic that goes from a workload endpoint to the host itself (after the traffic hits the endpoint egress policy). By default Calico blocks traffic from workload endpoints to the host itself with an iptables \"DROP\" action. If you want to allow some or all traffic from endpoint to host, set this parameter to RETURN or ACCEPT. Use RETURN if you have your own rules in the iptables \"INPUT\" chain; Calico will insert its rules at the top of that chain, then \"RETURN\" packets to the \"INPUT\" chain once it has completed processing workload endpoint egress policy. Use ACCEPT to unconditionally accept packets from workloads after processing workload endpoint egress policy. [Default: Drop]", "description": "DefaultEndpointToHostAction controls what happens to traffic that goes from a workload endpoint to the host itself (after the traffic hits the endpoint egress policy). By default Calico blocks traffic from workload endpoints to the host itself with an iptables \"DROP\" action. If you want to allow some or all traffic from endpoint to host, set this parameter to RETURN or ACCEPT. Use RETURN if you have your own rules in the iptables \"INPUT\" chain; Calico will insert its rules at the top of that chain, then \"RETURN\" packets to the \"INPUT\" chain once it has completed processing workload endpoint egress policy. Use ACCEPT to unconditionally accept packets from workloads after processing workload endpoint egress policy. [Default: Drop]",
"pattern": "^(?i)(Drop|Accept|Return)?$",
"type": "string" "type": "string"
}, },
"deviceRouteProtocol": { "deviceRouteProtocol": {
@ -179,6 +226,7 @@
"type": "boolean" "type": "boolean"
}, },
"endpointReportingDelay": { "endpointReportingDelay": {
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"endpointReportingEnabled": { "endpointReportingEnabled": {
@ -241,10 +289,12 @@
}, },
"featureDetectOverride": { "featureDetectOverride": {
"description": "FeatureDetectOverride is used to override feature detection based on auto-detected platform capabilities. Values are specified in a comma separated list with no spaces, example; \"SNATFullyRandom=true,MASQFullyRandom=false,RestoreSupportsLock=\". \"true\" or \"false\" will force the feature, empty or omitted values are auto-detected.", "description": "FeatureDetectOverride is used to override feature detection based on auto-detected platform capabilities. Values are specified in a comma separated list with no spaces, example; \"SNATFullyRandom=true,MASQFullyRandom=false,RestoreSupportsLock=\". \"true\" or \"false\" will force the feature, empty or omitted values are auto-detected.",
"pattern": "^([a-zA-Z0-9-_]+=(true|false|),)*([a-zA-Z0-9-_]+=(true|false|))?$",
"type": "string" "type": "string"
}, },
"featureGates": { "featureGates": {
"description": "FeatureGates is used to enable or disable tech-preview Calico features. Values are specified in a comma separated list with no spaces, example; \"BPFConnectTimeLoadBalancingWorkaround=enabled,XyZ=false\". This is used to enable features that are not fully production ready.", "description": "FeatureGates is used to enable or disable tech-preview Calico features. Values are specified in a comma separated list with no spaces, example; \"BPFConnectTimeLoadBalancingWorkaround=enabled,XyZ=false\". This is used to enable features that are not fully production ready.",
"pattern": "^([a-zA-Z0-9-_]+=([^=]+),)*([a-zA-Z0-9-_]+=([^=]+))?$",
"type": "string" "type": "string"
}, },
"floatingIPs": { "floatingIPs": {
@ -298,6 +348,7 @@
}, },
"interfaceRefreshInterval": { "interfaceRefreshInterval": {
"description": "InterfaceRefreshInterval is the period at which Felix rescans local interfaces to verify their state. The rescan can be disabled by setting the interval to 0.", "description": "InterfaceRefreshInterval is the period at which Felix rescans local interfaces to verify their state. The rescan can be disabled by setting the interval to 0.",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"ipipEnabled": { "ipipEnabled": {
@ -310,17 +361,21 @@
}, },
"ipsetsRefreshInterval": { "ipsetsRefreshInterval": {
"description": "IpsetsRefreshInterval is the period at which Felix re-checks all iptables state to ensure that no other process has accidentally broken Calico's rules. Set to 0 to disable iptables refresh. [Default: 90s]", "description": "IpsetsRefreshInterval is the period at which Felix re-checks all iptables state to ensure that no other process has accidentally broken Calico's rules. Set to 0 to disable iptables refresh. [Default: 90s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"iptablesBackend": { "iptablesBackend": {
"description": "IptablesBackend specifies which backend of iptables will be used. The default is Auto.", "description": "IptablesBackend specifies which backend of iptables will be used. The default is Auto.",
"pattern": "^(?i)(Auto|FelixConfiguration|FelixConfigurationList|Legacy|NFT)?$",
"type": "string" "type": "string"
}, },
"iptablesFilterAllowAction": { "iptablesFilterAllowAction": {
"pattern": "^(?i)(Accept|Return)?$",
"type": "string" "type": "string"
}, },
"iptablesFilterDenyAction": { "iptablesFilterDenyAction": {
"description": "IptablesFilterDenyAction controls what happens to traffic that is denied by network policy. By default Calico blocks traffic with an iptables \"DROP\" action. If you want to use \"REJECT\" action instead you can configure it in here.", "description": "IptablesFilterDenyAction controls what happens to traffic that is denied by network policy. By default Calico blocks traffic with an iptables \"DROP\" action. If you want to use \"REJECT\" action instead you can configure it in here.",
"pattern": "^(?i)(Drop|Reject)?$",
"type": "string" "type": "string"
}, },
"iptablesLockFilePath": { "iptablesLockFilePath": {
@ -329,13 +384,16 @@
}, },
"iptablesLockProbeInterval": { "iptablesLockProbeInterval": {
"description": "IptablesLockProbeInterval is the time that Felix will wait between attempts to acquire the iptables lock if it is not available. Lower values make Felix more responsive when the lock is contended, but use more CPU. [Default: 50ms]", "description": "IptablesLockProbeInterval is the time that Felix will wait between attempts to acquire the iptables lock if it is not available. Lower values make Felix more responsive when the lock is contended, but use more CPU. [Default: 50ms]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"iptablesLockTimeout": { "iptablesLockTimeout": {
"description": "IptablesLockTimeout is the time that Felix will wait for the iptables lock, or 0, to disable. To use this feature, Felix must share the iptables lock file with all other processes that also take the lock. When running Felix inside a container, this requires the /run directory of the host to be mounted into the calico/node or calico/felix container. [Default: 0s disabled]", "description": "IptablesLockTimeout is the time that Felix will wait for the iptables lock, or 0, to disable. To use this feature, Felix must share the iptables lock file with all other processes that also take the lock. When running Felix inside a container, this requires the /run directory of the host to be mounted into the calico/node or calico/felix container. [Default: 0s disabled]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"iptablesMangleAllowAction": { "iptablesMangleAllowAction": {
"pattern": "^(?i)(Accept|Return)?$",
"type": "string" "type": "string"
}, },
"iptablesMarkMask": { "iptablesMarkMask": {
@ -348,10 +406,12 @@
}, },
"iptablesPostWriteCheckInterval": { "iptablesPostWriteCheckInterval": {
"description": "IptablesPostWriteCheckInterval is the period after Felix has done a write to the dataplane that it schedules an extra read back in order to check the write was not clobbered by another process. This should only occur if another application on the system doesn't respect the iptables lock. [Default: 1s]", "description": "IptablesPostWriteCheckInterval is the period after Felix has done a write to the dataplane that it schedules an extra read back in order to check the write was not clobbered by another process. This should only occur if another application on the system doesn't respect the iptables lock. [Default: 1s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"iptablesRefreshInterval": { "iptablesRefreshInterval": {
"description": "IptablesRefreshInterval is the period at which Felix re-checks the IP sets in the dataplane to ensure that no other process has accidentally broken Calico's rules. Set to 0 to disable IP sets refresh. Note: the default for this value is lower than the other refresh intervals as a workaround for a Linux kernel bug that was fixed in kernel version 4.11. If you are using v4.11 or greater you may want to set this to, a higher value to reduce Felix CPU usage. [Default: 10s]", "description": "IptablesRefreshInterval is the period at which Felix re-checks the IP sets in the dataplane to ensure that no other process has accidentally broken Calico's rules. Set to 0 to disable IP sets refresh. Note: the default for this value is lower than the other refresh intervals as a workaround for a Linux kernel bug that was fixed in kernel version 4.11. If you are using v4.11 or greater you may want to set this to, a higher value to reduce Felix CPU usage. [Default: 10s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"ipv6Support": { "ipv6Support": {
@ -388,14 +448,17 @@
}, },
"logSeverityFile": { "logSeverityFile": {
"description": "LogSeverityFile is the log severity above which logs are sent to the log file. [Default: Info]", "description": "LogSeverityFile is the log severity above which logs are sent to the log file. [Default: Info]",
"pattern": "^(?i)(Debug|Info|Warning|Error|Fatal)?$",
"type": "string" "type": "string"
}, },
"logSeverityScreen": { "logSeverityScreen": {
"description": "LogSeverityScreen is the log severity above which logs are sent to the stdout. [Default: Info]", "description": "LogSeverityScreen is the log severity above which logs are sent to the stdout. [Default: Info]",
"pattern": "^(?i)(Debug|Info|Warning|Error|Fatal)?$",
"type": "string" "type": "string"
}, },
"logSeveritySys": { "logSeveritySys": {
"description": "LogSeveritySys is the log severity above which logs are sent to the syslog. Set to None for no logging to syslog. [Default: Info]", "description": "LogSeveritySys is the log severity above which logs are sent to the syslog. Set to None for no logging to syslog. [Default: Info]",
"pattern": "^(?i)(Debug|Info|Warning|Error|Fatal)?$",
"type": "string" "type": "string"
}, },
"maxIpsetSize": { "maxIpsetSize": {
@ -431,6 +494,7 @@
"x-kubernetes-int-or-string": true "x-kubernetes-int-or-string": true
}, },
"netlinkTimeout": { "netlinkTimeout": {
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"openstackRegion": { "openstackRegion": {
@ -471,18 +535,22 @@
}, },
"reportingInterval": { "reportingInterval": {
"description": "ReportingInterval is the interval at which Felix reports its status into the datastore or 0 to disable. Must be non-zero in OpenStack deployments. [Default: 30s]", "description": "ReportingInterval is the interval at which Felix reports its status into the datastore or 0 to disable. Must be non-zero in OpenStack deployments. [Default: 30s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"reportingTTL": { "reportingTTL": {
"description": "ReportingTTL is the time-to-live setting for process-wide status reports. [Default: 90s]", "description": "ReportingTTL is the time-to-live setting for process-wide status reports. [Default: 90s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"routeRefreshInterval": { "routeRefreshInterval": {
"description": "RouteRefreshInterval is the period at which Felix re-checks the routes in the dataplane to ensure that no other process has accidentally broken Calico's rules. Set to 0 to disable route refresh. [Default: 90s]", "description": "RouteRefreshInterval is the period at which Felix re-checks the routes in the dataplane to ensure that no other process has accidentally broken Calico's rules. Set to 0 to disable route refresh. [Default: 90s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"routeSource": { "routeSource": {
"description": "RouteSource configures where Felix gets its routing information. - WorkloadIPs: use workload endpoints to construct routes. - CalicoIPAM: the default - use IPAM data to construct routes.", "description": "RouteSource configures where Felix gets its routing information. - WorkloadIPs: use workload endpoints to construct routes. - CalicoIPAM: the default - use IPAM data to construct routes.",
"pattern": "^(?i)(WorkloadIPs|CalicoIPAM)?$",
"type": "string" "type": "string"
}, },
"routeSyncDisabled": { "routeSyncDisabled": {
@ -528,6 +596,7 @@
}, },
"serviceLoopPrevention": { "serviceLoopPrevention": {
"description": "When service IP advertisement is enabled, prevent routing loops to service IPs that are not in use, by dropping or rejecting packets that do not get DNAT'd by kube-proxy. Unless set to \"Disabled\", in which case such routing loops continue to be allowed. [Default: Drop]", "description": "When service IP advertisement is enabled, prevent routing loops to service IPs that are not in use, by dropping or rejecting packets that do not get DNAT'd by kube-proxy. Unless set to \"Disabled\", in which case such routing loops continue to be allowed. [Default: Drop]",
"pattern": "^(?i)(Drop|Reject|Disabled)?$",
"type": "string" "type": "string"
}, },
"sidecarAccelerationEnabled": { "sidecarAccelerationEnabled": {
@ -540,10 +609,12 @@
}, },
"usageReportingInitialDelay": { "usageReportingInitialDelay": {
"description": "UsageReportingInitialDelay controls the minimum delay before Felix makes a report. [Default: 300s]", "description": "UsageReportingInitialDelay controls the minimum delay before Felix makes a report. [Default: 300s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"usageReportingInterval": { "usageReportingInterval": {
"description": "UsageReportingInterval controls the interval at which Felix makes reports. [Default: 86400s]", "description": "UsageReportingInterval controls the interval at which Felix makes reports. [Default: 86400s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"useInternalDataplaneDriver": { "useInternalDataplaneDriver": {
@ -568,6 +639,14 @@
"vxlanVNI": { "vxlanVNI": {
"type": "integer" "type": "integer"
}, },
"windowsManageFirewallRules": {
"description": "WindowsManageFirewallRules configures whether or not Felix will program Windows Firewall rules. (to allow inbound access to its own metrics ports) [Default: Disabled]",
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
"wireguardEnabled": { "wireguardEnabled": {
"description": "WireguardEnabled controls whether Wireguard is enabled for IPv4 (encapsulating IPv4 traffic over an IPv4 underlay network). [Default: false]", "description": "WireguardEnabled controls whether Wireguard is enabled for IPv4 (encapsulating IPv4 traffic over an IPv4 underlay network). [Default: false]",
"type": "boolean" "type": "boolean"
@ -590,6 +669,7 @@
}, },
"wireguardKeepAlive": { "wireguardKeepAlive": {
"description": "WireguardKeepAlive controls Wireguard PersistentKeepalive option. Set 0 to disable. [Default: 0]", "description": "WireguardKeepAlive controls Wireguard PersistentKeepalive option. Set 0 to disable. [Default: 0]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
}, },
"wireguardListeningPort": { "wireguardListeningPort": {
@ -614,6 +694,7 @@
}, },
"workloadSourceSpoofing": { "workloadSourceSpoofing": {
"description": "WorkloadSourceSpoofing controls whether pods can use the allowedSourcePrefixes annotation to send traffic with a source IP address that is not theirs. This is disabled by default. When set to \"Any\", pods can request any prefix.", "description": "WorkloadSourceSpoofing controls whether pods can use the allowedSourcePrefixes annotation to send traffic with a source IP address that is not theirs. This is disabled by default. When set to \"Any\", pods can request any prefix.",
"pattern": "^(?i)(Disabled|Any)?$",
"type": "string" "type": "string"
}, },
"xdpEnabled": { "xdpEnabled": {
@ -622,6 +703,7 @@
}, },
"xdpRefreshInterval": { "xdpRefreshInterval": {
"description": "XDPRefreshInterval is the period at which Felix re-checks all XDP state to ensure that no other process has accidentally broken Calico's BPF maps or attached programs. Set to 0 to disable XDP refresh. [Default: 90s]", "description": "XDPRefreshInterval is the period at which Felix re-checks all XDP state to ensure that no other process has accidentally broken Calico's BPF maps or attached programs. Set to 0 to disable XDP refresh. [Default: 90s]",
"pattern": "^([0-9]+(\\\\.[0-9]+)?(ms|s|m|h))*$",
"type": "string" "type": "string"
} }
}, },

View File

@ -665,6 +665,13 @@
"description": "Order is an optional field that specifies the order in which the policy is applied. Policies with higher \"order\" are applied after those with lower order. If the order is omitted, it may be considered to be \"infinite\" - i.e. the policy will be applied last. Policies with identical order will be applied in alphanumerical order based on the Policy \"Name\".", "description": "Order is an optional field that specifies the order in which the policy is applied. Policies with higher \"order\" are applied after those with lower order. If the order is omitted, it may be considered to be \"infinite\" - i.e. the policy will be applied last. Policies with identical order will be applied in alphanumerical order based on the Policy \"Name\".",
"type": "number" "type": "number"
}, },
"performanceHints": {
"description": "PerformanceHints contains a list of hints to Calico's policy engine to help process the policy more efficiently. Hints never change the enforcement behaviour of the policy. \n Currently, the only available hint is \"AssumeNeededOnEveryNode\". When that hint is set on a policy, Felix will act as if the policy matches a local endpoint even if it does not. This is useful for \"preloading\" any large static policies that are known to be used on every node. If the policy is _not_ used on a particular node then the work done to preload the policy (and to maintain it) is wasted.",
"items": {
"type": "string"
},
"type": "array"
},
"preDNAT": { "preDNAT": {
"description": "PreDNAT indicates to apply the rules in this policy before any DNAT.", "description": "PreDNAT indicates to apply the rules in this policy before any DNAT.",
"type": "boolean" "type": "boolean"

View File

@ -653,6 +653,13 @@
"description": "Order is an optional field that specifies the order in which the policy is applied. Policies with higher \"order\" are applied after those with lower order. If the order is omitted, it may be considered to be \"infinite\" - i.e. the policy will be applied last. Policies with identical order will be applied in alphanumerical order based on the Policy \"Name\".", "description": "Order is an optional field that specifies the order in which the policy is applied. Policies with higher \"order\" are applied after those with lower order. If the order is omitted, it may be considered to be \"infinite\" - i.e. the policy will be applied last. Policies with identical order will be applied in alphanumerical order based on the Policy \"Name\".",
"type": "number" "type": "number"
}, },
"performanceHints": {
"description": "PerformanceHints contains a list of hints to Calico's policy engine to help process the policy more efficiently. Hints never change the enforcement behaviour of the policy. \n Currently, the only available hint is \"AssumeNeededOnEveryNode\". When that hint is set on a policy, Felix will act as if the policy matches a local endpoint even if it does not. This is useful for \"preloading\" any large static policies that are known to be used on every node. If the policy is _not_ used on a particular node then the work done to preload the policy (and to maintain it) is wasted.",
"items": {
"type": "string"
},
"type": "array"
},
"selector": { "selector": {
"description": "The selector is an expression used to pick pick out the endpoints that the policy should be applied to. \n Selector expressions follow this syntax: \n \tlabel == \"string_literal\" -> comparison, e.g. my_label == \"foo bar\" \tlabel != \"string_literal\" -> not equal; also matches if label is not present \tlabel in { \"a\", \"b\", \"c\", ... } -> true if the value of label X is one of \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\", ... } -> true if the value of label X is not one of \"a\", \"b\", \"c\" \thas(label_name) -> True if that label is present \t! expr -> negation of expr \texpr && expr -> Short-circuit and \texpr || expr -> Short-circuit or \t( expr ) -> parens for grouping \tall() or the empty selector -> matches all endpoints. \n Label names are allowed to contain alphanumerics, -, _ and /. String literals are more permissive but they do not support escape characters. \n Examples (with made-up labels): \n \ttype == \"webserver\" && deployment == \"prod\" \ttype in {\"frontend\", \"backend\"} \tdeployment != \"dev\" \t! has(label_name)", "description": "The selector is an expression used to pick pick out the endpoints that the policy should be applied to. \n Selector expressions follow this syntax: \n \tlabel == \"string_literal\" -> comparison, e.g. my_label == \"foo bar\" \tlabel != \"string_literal\" -> not equal; also matches if label is not present \tlabel in { \"a\", \"b\", \"c\", ... } -> true if the value of label X is one of \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\", ... } -> true if the value of label X is not one of \"a\", \"b\", \"c\" \thas(label_name) -> True if that label is present \t! expr -> negation of expr \texpr && expr -> Short-circuit and \texpr || expr -> Short-circuit or \t( expr ) -> parens for grouping \tall() or the empty selector -> matches all endpoints. \n Label names are allowed to contain alphanumerics, -, _ and /. String literals are more permissive but they do not support escape characters. \n Examples (with made-up labels): \n \ttype == \"webserver\" && deployment == \"prod\" \ttype in {\"frontend\", \"backend\"} \tdeployment != \"dev\" \t! has(label_name)",
"type": "string" "type": "string"