Skip to content

Commit

Permalink
Fixed sidecar's serviceaccount permission (#1408)
Browse files Browse the repository at this point in the history
Add "patch" authority to resource "events" to serviceaccount "agones-sdk".

Co-authored-by: Mark Mandel <markmandel@google.com>
  • Loading branch information
suecideTech and markmandel committed Mar 13, 2020
1 parent fae41a6 commit 54f6a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/helm/agones/templates/serviceaccounts/sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["events"]
verbs: ["create"]
verbs: ["create", "patch"]
- apiGroups: ["agones.dev"]
resources: ["gameservers"]
verbs: ["list", "update", "watch"]
Expand Down
2 changes: 1 addition & 1 deletion install/yaml/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["events"]
verbs: ["create"]
verbs: ["create", "patch"]
- apiGroups: ["agones.dev"]
resources: ["gameservers"]
verbs: ["list", "update", "watch"]
Expand Down

0 comments on commit 54f6a38

Please sign in to comment.