diff --git a/daemon/cmd/cni.go b/daemon/cmd/cni.go index 90be0deb4673c..3560b1ad87aa5 100644 --- a/daemon/cmd/cni.go +++ b/daemon/cmd/cni.go @@ -119,12 +119,6 @@ func (d *Daemon) startCNIConfWriter(opts *option.DaemonConfig, cleaner *daemonCl return } - // We used to disable CNI generation with this environment variable - // It's no longer documented, but we need to still support it. - if os.Getenv("CILIUM_CUSTOM_CNI_CONF") == "true" { - return - } - d.controllers.UpdateController(cniControllerName, controller.ControllerParams{ DoFunc: func(ctx context.Context) error {