Skip to content

Commit

Permalink
Agones: Use Helm agones.allocator.label (#215)
Browse files Browse the repository at this point in the history
This removes the use of Kustomize patch to implement the appropriate
labels for ASM, and instead use the Helm configuration options that are
available in the latest versions of Agones.

Closes #173
  • Loading branch information
markmandel committed Oct 17, 2023
1 parent f5dadb4 commit 168810e
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions infrastructure/files/agones/agones-install.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,9 @@ helmCharts:
portName: http-alloc
grpc:
enabled: false
labels:
istio.io/rev: asm-managed #ASM managed dataplane channel
region: ${location} #Region to identify the POD and send traffic

resources:
- agones-system.yaml

patches:
- target:
kind: Deployment
name: agones-allocator
patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: agones-allocator
namespace: agones-system
spec:
template:
metadata:
labels:
istio.io/rev: asm-managed #ASM managed dataplane channel
region: ${location} #Region to identify the POD and send traffic

0 comments on commit 168810e

Please sign in to comment.