From 18771b6c204f3844cfeffe323350471c8a0428ac Mon Sep 17 00:00:00 2001 From: Deshi Xiao Date: Wed, 20 Nov 2024 10:59:45 +0800 Subject: [PATCH] fix: remove NoFlannel Signed-off-by: Deshi Xiao --- pkg/agent/templates/templates_linux.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/agent/templates/templates_linux.go b/pkg/agent/templates/templates_linux.go index dffce173..2c333145 100644 --- a/pkg/agent/templates/templates_linux.go +++ b/pkg/agent/templates/templates_linux.go @@ -63,11 +63,9 @@ enable_keychain = true {{end}} {{end}} -{{- if not .NodeConfig.NoFlannel }} [plugins."io.containerd.grpc.v1.cri".cni] bin_dir = "{{ .NodeConfig.AgentConfig.CNIBinDir }}" conf_dir = "{{ .NodeConfig.AgentConfig.CNIConfDir }}" -{{end}} {{- if or .NodeConfig.Containerd.BlockIOConfig .NodeConfig.Containerd.RDTConfig }} [plugins."io.containerd.service.v1.tasks-service"]