-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Convert ENABLE_WIREGUARD (pkg/wireguard/agent/cell.go - WireGuard enabled) to load-time config #42654
Copy link
Copy link
Open
Labels
area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.Impacts bpf/ or low-level forwarding details, including map management and monitor messages.area/loaderImpacts the loading of BPF programs into the kernel.Impacts the loading of BPF programs into the kernel.feature/wireguardRelates to Cilium's Wireguard featureRelates to Cilium's Wireguard featurekind/enhancementThis would improve or streamline existing functionality.This would improve or streamline existing functionality.
Description
Convert this macro to use DECLARE_CONFIG or NODE_CONFIG for runtime configuration.
Current definition location: pkg/wireguard/agent/cell.go
if a.Enabled() {
out.NodeDefines = map[string]string{
"ENABLE_WIREGUARD": "1",
}
}BPF usage: Used in conditionals in:
- bpf/bpf_host.c - WireGuard tunnel device handling
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.Impacts bpf/ or low-level forwarding details, including map management and monitor messages.area/loaderImpacts the loading of BPF programs into the kernel.Impacts the loading of BPF programs into the kernel.feature/wireguardRelates to Cilium's Wireguard featureRelates to Cilium's Wireguard featurekind/enhancementThis would improve or streamline existing functionality.This would improve or streamline existing functionality.