Skip to content

Commit

Permalink
FIX: missing patch pod permission (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Downager authored Dec 25, 2023
1 parent da7b023 commit 4c0d5c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/network-plugins/amazon-vpc/aws-vpc-cni.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,12 @@ rules:
resources:
- pods
verbs: ["list", "watch", "get"]
%{ if annotate_pod_ip == true ~}
- apiGroups: [""]
resources:
- pods
verbs: ["patch"]
-%{ endif ~}
- apiGroups: [""]
resources:
- nodes
Expand Down

0 comments on commit 4c0d5c7

Please sign in to comment.