From 59ae77bd7a925a2fd5c87609c5a3c48fce70a2c6 Mon Sep 17 00:00:00 2001 From: Adam Cattermole Date: Fri, 16 Aug 2024 15:49:35 +0100 Subject: [PATCH] Set the host in authconfig to an arbitrary string Signed-off-by: Adam Cattermole --- utils/deploy/authconfig.yaml | 2 +- utils/deploy/envoy-notls.yaml | 4 ++-- utils/deploy/envoy-tls.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/deploy/authconfig.yaml b/utils/deploy/authconfig.yaml index eb01b060..fa9b8d6b 100644 --- a/utils/deploy/authconfig.yaml +++ b/utils/deploy/authconfig.yaml @@ -5,7 +5,7 @@ metadata: name: talker-api-protection spec: hosts: - - talker-api.127.0.0.1.nip.io + - effective-route-1 authentication: "friends": apiKey: diff --git a/utils/deploy/envoy-notls.yaml b/utils/deploy/envoy-notls.yaml index 9e27d821..af1d5b7d 100644 --- a/utils/deploy/envoy-notls.yaml +++ b/utils/deploy/envoy-notls.yaml @@ -158,8 +158,8 @@ data: "data": [ { "static": { - "key": "limit_to_be_activated", - "value": "1" + "key": "host", + "value": "effective-route-1" } } ] diff --git a/utils/deploy/envoy-tls.yaml b/utils/deploy/envoy-tls.yaml index b6f90ffe..6b91fe09 100644 --- a/utils/deploy/envoy-tls.yaml +++ b/utils/deploy/envoy-tls.yaml @@ -167,8 +167,8 @@ data: "data": [ { "static": { - "key": "limit_to_be_activated", - "value": "1" + "key": "host", + "value": "effective-route-1" } } ]