Skip to content

Commit 4cc01b9

Browse files
committed
chore: update helm charts yaml
Signed-off-by: ashing <axingfly@gmail.com>
1 parent 756ed51 commit 4cc01b9

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

charts/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ data:
3232
exec_adc_timeout: {{ .Values.config.execADCTimeout | default "15s" }}
3333
3434
provider:
35+
type: {{ .Values.config.provider.type | default "apisix-standalone" }}
36+
3537
sync_period: {{ .Values.config.provider.syncPeriod | default "0s" }}
3638
3739
init_sync_delay: {{ .Values.config.provider.initSyncDelay | default "20m" }}

charts/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ config:
5252
secureMetrics: ""
5353
execADCTimeout: "15s"
5454
provider:
55+
type: "apisix-standalone"
5556
syncPeriod: "0s"
5657
initSyncDelay: "20m"

config/rbac/role.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ rules:
9191
- gatewayclasses/status
9292
- gateways/status
9393
- httproutes/status
94+
- referencegrants/status
9495
verbs:
9596
- get
9697
- update
@@ -102,6 +103,14 @@ rules:
102103
- get
103104
- list
104105
- watch
106+
- apiGroups:
107+
- gateway.networking.k8s.io
108+
resources:
109+
- referencegrants
110+
verbs:
111+
- list
112+
- update
113+
- watch
105114
- apiGroups:
106115
- networking.k8s.io
107116
resources:

internal/manager/controllers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ import (
7171
// +kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=gateways/status,verbs=get;update
7272
// +kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=httproutes,verbs=get;list;watch
7373
// +kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=httproutes/status,verbs=get;update
74+
// +kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=referencegrants,verbs=list;watch;update
75+
// +kubebuilder:rbac:groups=gateway.networking.k8s.io,resources=referencegrants/status,verbs=get;update
7476

7577
// Networking
7678
// +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch;update

0 commit comments

Comments
 (0)