Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 2 additions & 36 deletions base/api/rbac/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterRole
metadata:
name: server-creator-clusterrole
rules:
# Nodes are cluster-scoped — patch needed for game server node labeling
- apiGroups:
- ''
resources:
Expand All @@ -11,47 +12,12 @@ rules:
- get
- list
- patch
- apiGroups:
- ''
resources:
- persistentvolumeclaims
verbs:
- create
- get
- list
- watch
- delete
# PVs are cluster-scoped — read-only for monitoring storage
- apiGroups:
- ''
resources:
- persistentvolumes
verbs:
- create
- get
- list
- watch
- delete
- apiGroups:
- batch
resources:
- jobs
- jobs/status
verbs:
- get
- list
- watch
- apiGroups:
- ''
resources:
- pods
- pods/log
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- patch
17 changes: 17 additions & 0 deletions base/api/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,27 @@ rules:
verbs:
- create
- get
- apiGroups:
- ''
resources:
- pods/log
verbs:
- get
- apiGroups:
- ''
resources:
- persistentvolumeclaims
verbs:
- create
- get
- list
- watch
- delete
- apiGroups:
- 'batch'
resources:
- jobs
- jobs/status
verbs:
- create
- get
Expand Down
6 changes: 0 additions & 6 deletions base/game-server-node-connector/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ spec:
- name: cpu-sys
mountPath: /host-cpu
readOnly: true
- name: mem-sys
Comment thread
lukepolo marked this conversation as resolved.
mountPath: /host-mem
readOnly: true
volumes:
- name: server-files
hostPath:
Expand Down Expand Up @@ -114,6 +111,3 @@ spec:
- name: cpu-sys
hostPath:
path: /sys/devices/system/cpu/
- name: mem-sys
hostPath:
path: /dev/mem