From 168810e470c1b2ab5c32242031a3cd2c6662a498 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Tue, 17 Oct 2023 16:01:39 -0700 Subject: [PATCH] Agones: Use Helm agones.allocator.label (#215) 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 --- .../files/agones/agones-install.yaml.tpl | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/infrastructure/files/agones/agones-install.yaml.tpl b/infrastructure/files/agones/agones-install.yaml.tpl index 1cc467f..31d09f9 100644 --- a/infrastructure/files/agones/agones-install.yaml.tpl +++ b/infrastructure/files/agones/agones-install.yaml.tpl @@ -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