From 5dae9abf255db3009ae5e675bdd307651c079b69 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Sat, 30 Nov 2024 11:02:53 -0800 Subject: [PATCH] add data plane info as gwa needs for upstream validation check --- local/gwa-api/.env.local | 3 ++- local/gwa-api/data_planes_config.json | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 local/gwa-api/data_planes_config.json diff --git a/local/gwa-api/.env.local b/local/gwa-api/.env.local index 7cf8877d2..691e3e390 100644 --- a/local/gwa-api/.env.local +++ b/local/gwa-api/.env.local @@ -21,4 +21,5 @@ PORTAL_ACTIVITY_TOKEN= HOST_TRANSFORM_ENABLED=false HOST_TRANSFORM_BASE_URL= PLUGINS_RATELIMITING_REDIS_PASSWORD=s3cr3t -LOCAL_ENVIRONMENT=True \ No newline at end of file +LOCAL_ENVIRONMENT=True +DATA_PLANES_CONFIG_PATH=/tmp/gwa/data_planes_config.json \ No newline at end of file diff --git a/local/gwa-api/data_planes_config.json b/local/gwa-api/data_planes_config.json new file mode 100644 index 000000000..39f8008cc --- /dev/null +++ b/local/gwa-api/data_planes_config.json @@ -0,0 +1,9 @@ +{ + "data_planes": { + "local-dataplane": { + "kube-api": "http://kubenull", + "kube-ns": "local-cluster", + "validate-upstreams": false + } + } +} \ No newline at end of file