Skip to content

Commit

Permalink
Updated allocation yaml files under examples/ to use selectors (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiayi committed Nov 1, 2022
1 parent 83cc807 commit 94d63e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions examples/simple-game-server/gameserverallocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ spec:
# however we can also make available `matchExpressions` for even greater
# flexibility.
# Below is an example of a GameServer allocated against a given fleet.
required:
matchLabels:
agones.dev/fleet: simple-game-server
selectors:
- matchLabels:
agones.dev/fleet: simple-game-server
6 changes: 3 additions & 3 deletions examples/supertuxkart/gameserverallocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
apiVersion: "allocation.agones.dev/v1"
kind: GameServerAllocation
spec:
required:
matchLabels:
agones.dev/fleet: supertuxkart
selectors:
- matchLabels:
agones.dev/fleet: supertuxkart
6 changes: 3 additions & 3 deletions examples/xonotic/gameserverallocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ spec:
# however we can also make available `matchExpressions` for even greater
# flexibility.
# Below is an example of a GameServer allocated against a given fleet.
required:
matchLabels:
agones.dev/fleet: xonotic
selectors:
- matchLabels:
agones.dev/fleet: xonotic

0 comments on commit 94d63e0

Please sign in to comment.