Skip to content

Commit e22e641

Browse files
committed
modify kmesh_config entries to 1
Signed-off-by: weli-l <1289113577@qq.com>
1 parent 7161af5 commit e22e641

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bpf/include/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ struct {
145145
*/
146146
struct {
147147
__uint(type, BPF_MAP_TYPE_ARRAY);
148-
__uint(max_entries, 4);
148+
__uint(max_entries, 1);
149149
__type(key, int);
150150
__type(value, struct kmesh_config);
151151
} kmesh_config_map SEC(".maps");

deploy/charts/kmesh-helm/templates/kmesh-rbac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ rules:
1313
- pods
1414
- services
1515
- namespaces
16+
- nodes
1617
verbs:
1718
- get
1819
- update

0 commit comments

Comments
 (0)