Closed markmandel closed 4 years ago
@markmandel This bug can be reproduced by following the steps below.
This is because serviceaccount "agones-sdk" does not have "patch" authority for resources "events".
install.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: agones-sdk
namespace: agones-system
...
rules:
- apiGroups: [""]
resources: ["events"]
verbs: ["create"] <-- need "patch".
Also, sidecar creates a patch for an existing event.
Content to be fixed Grant "patch" authority to resource "events" to serviceaccount "agones-sdk". If there is no problem, send PR.
You will need to add this in the appropriate install/helm
file, and then run make gen-install
to generate the install.yaml - but yes -- please add this as a PR!
What happened:
Keep seeing variation on this log in the agones-gameserver-sidecar
What you expected to happen: To not see this log
How to reproduce it (as minimally and precisely as possible): Run a GameServer to Ready state.
Anything else we need to know?: Nope.
Environment:
kubectl version
): 1.3.0