Skip to content

Commit c884d4b

Browse files
authored
update rbac for targetgrouppolicies and vpcassociationpolicies (#532)
1 parent aaf71da commit c884d4b

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

config/rbac/cluster-role-controller.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ rules:
276276
- patch
277277
- update
278278
- watch
279+
279280
- apiGroups:
280281
- application-networking.k8s.aws
281282
resources:
@@ -294,6 +295,15 @@ rules:
294295
- targetgrouppolicies/finalizers
295296
verbs:
296297
- update
298+
- apiGroups:
299+
- application-networking.k8s.aws
300+
resources:
301+
- targetgrouppolicies/status
302+
verbs:
303+
- get
304+
- patch
305+
- update
306+
297307
- apiGroups:
298308
- application-networking.k8s.aws
299309
resources:
@@ -312,6 +322,15 @@ rules:
312322
- vpcassociationpolicies/finalizers
313323
verbs:
314324
- update
325+
- apiGroups:
326+
- application-networking.k8s.aws
327+
resources:
328+
- vpcassociationpolicies/status
329+
verbs:
330+
- get
331+
- patch
332+
- update
333+
315334
- apiGroups:
316335
- application-networking.k8s.aws
317336
resources:

helm/templates/cluster-role-controller.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ rules:
299299
- patch
300300
- update
301301
- watch
302+
302303
- apiGroups:
303304
- application-networking.k8s.aws
304305
resources:
@@ -317,6 +318,15 @@ rules:
317318
- targetgrouppolicies/finalizers
318319
verbs:
319320
- update
321+
- apiGroups:
322+
- application-networking.k8s.aws
323+
resources:
324+
- targetgrouppolicies/status
325+
verbs:
326+
- get
327+
- patch
328+
- update
329+
320330
- apiGroups:
321331
- application-networking.k8s.aws
322332
resources:
@@ -335,6 +345,15 @@ rules:
335345
- vpcassociationpolicies/finalizers
336346
verbs:
337347
- update
348+
- apiGroups:
349+
- application-networking.k8s.aws
350+
resources:
351+
- vpcassociationpolicies/status
352+
verbs:
353+
- get
354+
- patch
355+
- update
356+
338357
- apiGroups:
339358
- application-networking.k8s.aws
340359
resources:
@@ -353,6 +372,7 @@ rules:
353372
- accesslogpolicies/finalizers
354373
verbs:
355374
- update
375+
356376
- apiGroups:
357377
- application-networking.k8s.aws
358378
resources:

0 commit comments

Comments
 (0)