Skip to content

Commit

Permalink
Step #1 - events are now propogating from the sidecar.
Browse files Browse the repository at this point in the history
TODO: remove the unhealthy in the yaml.
  • Loading branch information
markmandel committed Aug 9, 2018
1 parent 84b60d5 commit 85c0c48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/simple-udp/server/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions install/helm/agones/templates/serviceaccounts/sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 3 additions & 0 deletions install/yaml/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 85c0c48

Please sign in to comment.