Skip to content

Commit 1275356

Browse files
committed
enable auth offload by default
Signed-off-by: weli-l <1289113577@qq.com>
1 parent f839eff commit 1275356

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)