Skip to content

Commit

Permalink
add data plane info as gwa needs for upstream validation check
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Nov 30, 2024
1 parent d3ff9b0 commit 5dae9ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion local/gwa-api/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ PORTAL_ACTIVITY_TOKEN=
HOST_TRANSFORM_ENABLED=false
HOST_TRANSFORM_BASE_URL=
PLUGINS_RATELIMITING_REDIS_PASSWORD=s3cr3t
LOCAL_ENVIRONMENT=True
LOCAL_ENVIRONMENT=True
DATA_PLANES_CONFIG_PATH=/tmp/gwa/data_planes_config.json
9 changes: 9 additions & 0 deletions local/gwa-api/data_planes_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"data_planes": {
"local-dataplane": {
"kube-api": "http://kubenull",
"kube-ns": "local-cluster",
"validate-upstreams": false
}
}
}

0 comments on commit 5dae9ab

Please sign in to comment.