diff --git a/examples/simple-udp/server/gameserver.yaml b/examples/simple-udp/server/gameserver.yaml index 5cb6dc0835..f81a72c7c5 100644 --- a/examples/simple-udp/server/gameserver.yaml +++ b/examples/simple-udp/server/gameserver.yaml @@ -15,8 +15,10 @@ apiVersion: "stable.agones.dev/v1alpha1" kind: GameServer metadata: - name: "simple-udp" + name: "simple-udp-unhealthy" spec: + health: + disabled: true ports: - name: default portPolicy: "dynamic" diff --git a/install/helm/agones/templates/serviceaccounts/sdk.yaml b/install/helm/agones/templates/serviceaccounts/sdk.yaml index 2116c28609..68737c2c5a 100644 --- a/install/helm/agones/templates/serviceaccounts/sdk.yaml +++ b/install/helm/agones/templates/serviceaccounts/sdk.yaml @@ -36,6 +36,9 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} rules: +- apiGroups: [""] + resources: ["events"] + verbs: ["create"] - apiGroups: ["stable.agones.dev"] resources: ["gameservers"] verbs: ["list", "update", "watch"] diff --git a/install/yaml/install.yaml b/install/yaml/install.yaml index 231af08135..0423400b8d 100644 --- a/install/yaml/install.yaml +++ b/install/yaml/install.yaml @@ -111,6 +111,9 @@ metadata: release: agones-manual heritage: Tiller rules: +- apiGroups: [""] + resources: ["events"] + verbs: ["create"] - apiGroups: ["stable.agones.dev"] resources: ["gameservers"] verbs: ["list", "update", "watch"]