Skip to content

Commit e84e265

Browse files
authored
Merge pull request #1274 from weli-l/dev/auth_ip_optimize
enable auth offload by default
2 parents f839eff + 1275356 commit e84e265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/bpf/bpf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func (l *BpfLoader) setBpfProgOptions() {
321321
valueOfKmeshBpfConfig.BpfLogLevel = constants.BPF_LOG_INFO
322322
valueOfKmeshBpfConfig.NodeIP = nodeIP
323323
valueOfKmeshBpfConfig.PodGateway = gateway
324-
valueOfKmeshBpfConfig.AuthzOffload = constants.DISABLED
324+
valueOfKmeshBpfConfig.AuthzOffload = constants.ENABLED
325325
valueOfKmeshBpfConfig.EnableMonitoring = constants.ENABLED
326326

327327
if err := UpdateKmeshConfigMap(l.kmeshConfig, valueOfKmeshBpfConfig); err != nil {

0 commit comments

Comments
 (0)