From a4f6b73b1fff529bf167178ae0fc2a43837ed3fd Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Wed, 16 Jun 2021 00:29:16 -0700 Subject: [PATCH] Remove `name` from all examples and configurations (#295) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we removed `name` from Endpoint configs, this broke all our examples, and the default configuration for the Docker image. This fixes these issues 😊 --- build/release/quilkin.yaml | 3 +-- examples/agones-xonotic/client-compress.yaml | 3 +-- examples/agones-xonotic/sidecar-compress.yaml | 3 +-- examples/agones-xonotic/sidecar.yaml | 3 +-- examples/iperf3/proxy.yaml | 3 +-- examples/proxy.yaml | 6 ++---- 6 files changed, 7 insertions(+), 14 deletions(-) diff --git a/build/release/quilkin.yaml b/build/release/quilkin.yaml index ee9076ae26..fce497ac4f 100644 --- a/build/release/quilkin.yaml +++ b/build/release/quilkin.yaml @@ -17,5 +17,4 @@ version: v1alpha1 static: endpoints: - - name: noop - address: 127.0.0.1:0 + - address: 127.0.0.1:0 diff --git a/examples/agones-xonotic/client-compress.yaml b/examples/agones-xonotic/client-compress.yaml index 469ff97a3d..12f94ace4c 100644 --- a/examples/agones-xonotic/client-compress.yaml +++ b/examples/agones-xonotic/client-compress.yaml @@ -23,5 +23,4 @@ static: on_write: DECOMPRESS mode: SNAPPY endpoints: - - name: xonotic - address: ${GAMESERVER_IP}:${GAMESERVER_PORT} + - address: ${GAMESERVER_IP}:${GAMESERVER_PORT} diff --git a/examples/agones-xonotic/sidecar-compress.yaml b/examples/agones-xonotic/sidecar-compress.yaml index 92abad685f..e851962f2c 100644 --- a/examples/agones-xonotic/sidecar-compress.yaml +++ b/examples/agones-xonotic/sidecar-compress.yaml @@ -31,8 +31,7 @@ data: on_write: COMPRESS mode: SNAPPY endpoints: - - name: xonotic - address: 127.0.0.1:26000 + - address: 127.0.0.1:26000 --- apiVersion: "agones.dev/v1" kind: Fleet diff --git a/examples/agones-xonotic/sidecar.yaml b/examples/agones-xonotic/sidecar.yaml index 4425b908a6..1e6363bd07 100644 --- a/examples/agones-xonotic/sidecar.yaml +++ b/examples/agones-xonotic/sidecar.yaml @@ -25,8 +25,7 @@ data: port: 26001 static: endpoints: - - name: xonotic - address: 127.0.0.1:26000 + - address: 127.0.0.1:26000 --- apiVersion: "agones.dev/v1" kind: Fleet diff --git a/examples/iperf3/proxy.yaml b/examples/iperf3/proxy.yaml index bbae8b9e31..bafc131375 100644 --- a/examples/iperf3/proxy.yaml +++ b/examples/iperf3/proxy.yaml @@ -24,5 +24,4 @@ proxy: port: 8000 static: endpoints: - - name: iperf3 client - address: 127.0.0.1:8001 + - address: 127.0.0.1:8001 diff --git a/examples/proxy.yaml b/examples/proxy.yaml index d5378939d7..5b9864357e 100644 --- a/examples/proxy.yaml +++ b/examples/proxy.yaml @@ -24,15 +24,13 @@ proxy: port: 7001 # the port to receive traffic to locally static: # Provide static configuration of endpoints endpoints: # array of potential endpoints to send on traffic to - - name: Game Server No. 1 - address: 127.0.0.1:26000 + - address: 127.0.0.1:26000 metadata: # Metadata associated with the endpoint quilkin.dev: tokens: - MXg3aWp5Ng== # the connection byte array to route to, encoded as base64 (string value: 1x7ijy6) - OGdqM3YyaQ== # (string value: 8gj3v2i) - - name: Game Server No. 2 - address: 127.0.0.1:26001 + - address: 127.0.0.1:26001 metadata: # Metadata associated with the endpoint quilkin.dev: tokens: